Ticket #2105: y.diff

File y.diff, 893 bytes (added by phicoh, 10 years ago)
  • libgosm.h

     
    2121#define stricmp strcasecmp
    2222typedef long long __int64;
    2323#endif
     24
     25#if __FreeBSD__ || __APPLE__ // Thanks to Ted Mielczarek & Dmitry
     26#define fopen64(x,y) fopen(x,y)
     27#endif
     28
    2429#ifndef M_PI
    2530#define M_PI 3.14159265358979323846 // Not in math ??
    2631#endif
  • gosmore.cpp

     
    9595#include <gtk/gtk.h>
    9696#endif
    9797
    98 #if __FreeBSD__ || __APPLE__ // Thanks to Ted Mielczarek & Dmitry
    99 #define fopen64(x,y) fopen(x,y)
    100 #endif
    101 
    10298// We emulate just enough of gtk to make it work
    10399#ifdef _WIN32_WCE
    104100#define gtk_widget_queue_clear(x) // After Click() returns we Invalidate