nsoracle.c contains snprintf(...) - This is shielded by an
#IFDEF WIN32. The compilaton fails at this line. To get
around this, I've made the following change:
348c348
< #ifdef WIN32
---
> #ifndef WIN32
That satistifes the compiler and the resulting DLL works
fine.
Logged In: YES
user_id=522678
nsoracle should be picking up the
#define snprintf _snprintf
that is conditionally defined for win32 in ns.h. The fix is
not to change from #ifdef to #ifndef, since that would break
things for other platforms, but to remove the definition of
snprintf from nsoracle.c and nsoracle.h completely.
Also the line ora_connection_t *connection =
fbPtr->connection;; has an extra semi-colon that should be
removed.