Commit 14f65876 authored by Bruce Momjian's avatar Bruce Momjian

fix HAVE_SQLGETPRIVATEPROFILESTRING define

parent c590273f
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
#ifndef WIN32 #ifndef WIN32
#include <string.h> #include <string.h>
#include "gpps.h" #include "gpps.h"
#ifdef HAVE_SQLGETPRIVATEPROFILESTRING #ifndef HAVE_SQLGETPRIVATEPROFILESTRING
#define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f) #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) #define SQLWritePrivateProfileString(a,b,c,d) WritePrivateProfileString(a,b,c,d)
#endif #endif
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
#ifndef WIN32 #ifndef WIN32
#include "gpps.h" #include "gpps.h"
#ifdef HAVE_SQLGETPRIVATEPROFILESTRING #ifndef HAVE_SQLGETPRIVATEPROFILESTRING
#define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f) #define SQLGetPrivateProfileString(a,b,c,d,e,f) GetPrivateProfileString(a,b,c,d,e,f)
#endif #endif
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment