summaryrefslogtreecommitdiff
path: root/graphics/py-gdchart/files/patch-gdc_py.c
blob: 40b1bb0f34d5d98b049ffb1eebb255f515603c38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- gdc_py.c.orig	Mon Feb 25 19:36:07 2002
+++ gdc_py.c	Sat Aug 14 14:16:15 2004
@@ -26,6 +26,9 @@
 #include <stdio.h>
 #include <string.h>
 #include <assert.h>
+#include <limits.h>
+#define MAXSHORT SHRT_MAX
+#define HAVE_JPEG 1
 
 #include "Python.h"
 #include "cStringIO.h"
@@ -1327,8 +1330,6 @@
 		}
 		break;
 	    }
-
-	    default:
 
 	} // switch
 	opt++;