1
1
forked from 0ad/0ad
0ad/source/lib/sysdep/sysdep.h

43 lines
693 B
C
Raw Normal View History

#ifndef SYSDEP_H__
#define SYSDEP_H__
#ifdef _WIN32
#include "win/win.h"
#include "win/wdbg.h"
#endif
#include "config.h"
#ifdef __cplusplus
extern "C" {
#endif
2004-07-12 16:21:13 +02:00
extern void display_msg(const char* caption, const char* msg);
extern void wdisplay_msg(const wchar_t* caption, const wchar_t* msg);
extern void debug_out(const char* fmt, ...);
extern void debug_break();
extern void check_heap();
#ifdef _MSC_VER
extern double round(double);
#endif
#ifndef HAVE_C99
extern float fminf(float a, float b);
extern float fmaxf(float a, float b);
#endif
#ifndef _MSC_VER
#define stricmp strcasecmp
#define strnicmp strncasecmp
#endif
#ifdef __cplusplus
}
#endif
#endif // #ifndef SYSDEP_H__