mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 10:18:09 -04:00
17 lines
471 B
Plaintext
17 lines
471 B
Plaintext
$NetBSD: patch-mssqldbmodule_c,v 1.2 2012/04/26 12:57:51 obache Exp $
|
|
|
|
Fix build with latest freetds, which now provides BYTE and LPBYTE.
|
|
|
|
--- mssqldbmodule.c.orig 2012-04-26 12:47:37.000000000 +0000
|
|
+++ mssqldbmodule.c
|
|
@@ -83,9 +83,6 @@ typedef int Py_ssize_t;
|
|
#define SQLVARCHAR SYBVARCHAR
|
|
#define SQLCHAR SYBCHAR
|
|
#define SQLTEXT SYBTEXT
|
|
-
|
|
-#define BYTE unsigned char
|
|
-typedef unsigned char *LPBYTE;
|
|
#endif
|
|
|
|
#define TYPE_STRING 1
|