blob: 165528ae74af67d15430dd9c59d0b0218362c354 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$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
|