ports/databases/py-odbc/patches/patch-src_pyodbc_h

13 lines
350 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: src/pyodbc.h
--- src/pyodbc.h.orig
+++ src/pyodbc.h
@@ -104,7 +104,7 @@ inline void UNUSED(...) { }
#include <stdarg.h>
#if defined(__SUNPRO_CC) || defined(__SUNPRO_C) || (defined(__GNUC__) && !defined(__MINGW32__))
-#ifndef __FreeBSD__
+#if !defined(__FreeBSD__) && !defined(__OpenBSD__)
#include <alloca.h>
#endif
#define CDECL cdecl