00001 #ifndef H_SYSDEP
00002 #define H_SYSDEP
00003
00004 #ifdef GCC
00005
00006 typedef unsigned long DWORD;
00007 DWORD GetTickCount();
00008 #define __CD__BEGIN
00009 #define __CD__END
00010
00011 #elif defined(WIN32)
00012
00013 #define WIN32_LEAN_AND_MEAN
00014 #include <windows.h>
00015 #define __CD__BEGIN
00016 #define __CD__END
00017 #ifdef COLDET_EXPORTS
00018 #define EXPORT __declspec(dllexport)
00019 #else
00020 #define EXPORT __declspec(dllimport)
00021 #endif
00022 #else
00023
00024 #error No system specified (WIN32 GCC)
00025
00026 #endif
00027
00028 #ifndef EXPORT
00029 #define EXPORT
00030 #endif
00031
00032 #endif // H_SYSDEP