2004-03-03 00:56:51 +01:00
|
|
|
#ifndef SYSDEP_H__
|
|
|
|
#define SYSDEP_H__
|
|
|
|
|
2004-04-09 14:39:55 +02:00
|
|
|
#ifdef _WIN32
|
2004-03-03 00:56:51 +01:00
|
|
|
#include "win/win.h"
|
2004-04-09 14:39:55 +02:00
|
|
|
#endif
|
2004-03-03 00:56:51 +01:00
|
|
|
|
2004-06-03 03:43:33 +02:00
|
|
|
#include "config.h"
|
|
|
|
|
2004-03-03 00:56:51 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2004-05-06 19:14:30 +02:00
|
|
|
extern void display_msg(const char* caption, const char* msg);
|
|
|
|
extern void wdisplay_msg(const wchar_t* caption, const wchar_t* msg);
|
2004-03-03 00:56:51 +01:00
|
|
|
extern void debug_out(const char* fmt, ...);
|
|
|
|
|
2004-03-03 01:37:41 +01:00
|
|
|
extern void check_heap();
|
|
|
|
|
2004-06-02 17:12:48 +02:00
|
|
|
#ifdef _MSC_VER
|
|
|
|
extern double round(double);
|
|
|
|
#endif
|
|
|
|
|
2004-06-03 03:43:33 +02:00
|
|
|
#ifndef HAVE_C99
|
|
|
|
extern float fminf(float a, float b);
|
|
|
|
extern float fmaxf(float a, float b);
|
|
|
|
#endif
|
|
|
|
|
2004-06-09 15:43:25 +02:00
|
|
|
#ifndef _MSC_VER
|
|
|
|
#define stricmp strcasecmp
|
|
|
|
#define strnicmp strncasecmp
|
|
|
|
#endif
|
2004-06-03 03:43:33 +02:00
|
|
|
|
2004-03-03 00:56:51 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2004-04-09 14:39:55 +02:00
|
|
|
#endif // #ifndef SYSDEP_H__
|