mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	I have made the couple of mods required to make the odbc driver with
postgres build and use unixODBC (http://www.unixodbc.org) This patch was applied against the postgresql-7.0beta1 build Any problems let me know. Nick Gorham
This commit is contained in:
		| @@ -23,8 +23,10 @@ | ||||
| #ifndef WIN32 | ||||
| #include <string.h> | ||||
| #include "gpps.h" | ||||
| #ifndef HAVE_SQLGETPRIVATEPROFILESTRING | ||||
| #define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f) | ||||
| #define SQLWritePrivateProfileString(a,b,c,d) WritePrivateProfileString(a,b,c,d) | ||||
| #endif | ||||
| #ifndef HAVE_STRICMP | ||||
| #define stricmp(s1,s2)	strcasecmp(s1,s2) | ||||
| #define strnicmp(s1,s2,n)	strncasecmp(s1,s2,n) | ||||
|   | ||||
| @@ -15,9 +15,10 @@ | ||||
| #endif | ||||
|  | ||||
| #ifndef WIN32 | ||||
| #include "gpps.h" | ||||
| #ifndef HAVE_SQLGETPRIVATEPROFILESTRING | ||||
| #define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f) | ||||
| #endif | ||||
| #endif | ||||
|  | ||||
| #include <stdio.h> | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user