Ignore:
Timestamp:
2005-10-20T16:53:34+13:00 (18 years ago)
Author:
kjdon
Message:

hacks to get it to compile under windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/packages/javagdbm/jni/gdbmjava.c

    r10737 r10753  
    3232#include <string.h>
    3333
     34#if defined (__WIN32__)
     35#include <gdbmdefs.h>
     36#include <gdbmerrno.h>
     37#define GDBM_FILE gdbm_file_info *
     38extern char* gdbm_version;
     39#else
    3440#include <gdbm.h>
     41#endif
    3542
    3643#include <jni.h>
     
    294301  (JNIEnv *env, jclass cls)
    295302{
    296     return (*env)->NewStringUTF(env, "JavaGDBM release " WRAPPER_VERSION
    297                 " built " __DATE__);
     303    return (*env)->NewStringUTF(env, "JavaGDBM release 0005 built " __DATE__);
    298304}
    299305               
Note: See TracChangeset for help on using the changeset viewer.