My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions

Issue 280 attachment: freebsd.src.pyodbc.h.patch (427 bytes)

1
2
3
4
5
6
7
8
9
10
11
12
--- pyodbc-3.0.6/src/pyodbc.h 2012-01-13 13:10:48.000000000 -0600
+++ ../pyodbc-3.0.6/src/pyodbc.h 2012-08-02 12:20:23.000000000 -0500
@@ -76,7 +76,9 @@
#include <stdarg.h>

#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || (defined(__GNUC__) && !defined(__MINGW32__))
+#ifndef __FreeBSD__
#include <alloca.h>
+#endif
#define CDECL cdecl
#define min(X,Y) ((X) < (Y) ? (X) : (Y))
#define max(X,Y) ((X) > (Y) ? (X) : (Y))
Powered by Google Project Hosting