22 lines
411 B
Text
22 lines
411 B
Text
$NetBSD: patch-ab,v 1.2 2005/12/20 11:57:41 joerg Exp $
|
|
|
|
--- gdc_py.c.orig 2001-03-16 19:06:08.000000000 +0000
|
|
+++ gdc_py.c
|
|
@@ -33,6 +33,8 @@
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <assert.h>
|
|
+#include <limits.h>
|
|
+#define MAXSHORT SHRT_MAX
|
|
|
|
#include "Python.h"
|
|
#include "cStringIO.h"
|
|
@@ -1316,7 +1318,7 @@ option_dict()
|
|
}
|
|
|
|
default:
|
|
-
|
|
+ break;
|
|
} // switch
|
|
opt++;
|
|
} // while
|