45 #define CACHE_N_LIMIT_DEFAULT 20
47 #define CACHE_MEM_LIMIT_DEFAULT 0
63 #define ocpnUPDATE_SYSTEM_TIME
74 #pragma warning(disable : 4114)
86 #define snprintf mysnprintf
104 #define START_LAT 33.358
105 #define START_LON -79.282
111 #include "wx/msw/private.h"
120 #define _CRTDBG_MAP_ALLOC
122 #define DEBUG_NEW new (_NORMAL_BLOCK, __FILE__, __LINE__)
123 #define new DEBUG_NEW
131 #define _putenv _putenv
133 #define _putenv putenv
166 #if defined(__OCPN__ANDROID__)
168 #include <GL/gl_private.h>
169 #include <GLES2/gl2.h>
172 #if defined(__MSVC__)
174 #elif defined(__WXOSX__)
175 #include <OpenGL/gl.h>
176 #include <OpenGL/glu.h>
177 typedef void (* _GLUfuncptr)();
178 #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
179 #elif defined(__WXQT__) || defined(__WXGTK__)
215 #ifdef __OCPN__ANDROID__