]> git.rkrishnan.org Git - tahoe-lafs/zfec.git/blobdiff - zfec/zfec/_fecmodule.c
zfec: silence a warning when compiling on Mac OS X with gcc, and refactor a complicat...
[tahoe-lafs/zfec.git] / zfec / zfec / _fecmodule.c
index f766321dba01c83756802c0729caafd66169b245..63b07cb6dedc739c3e7eaf78fb9fe2222e5eb917 100644 (file)
@@ -13,22 +13,6 @@ typedef int Py_ssize_t;
 
 #include "stdarg.h"
 
-#if defined(_MSC_VER)
-// actually, some of the flavors (i.e. Enterprise) do support restrict
-//#define restrict __restrict
-#define restrict
-#define inline __inline
-#define alloca _alloca
-#else
-#ifdef __GNUC__
-#define alloca(x) __builtin_alloca(x)
-#else
-#include <alloca.h>
-#endif
-#endif
-
-
-
 static PyObject *py_fec_error;
 
 static char fec__doc__[] = "\