2012-11-04 23:29:06 +00:00
|
|
|
//win32 msvc config
|
|
|
|
#pragma once
|
2012-11-13 18:35:39 +00:00
|
|
|
#ifndef __LIBRETRO_CONFIG_H
|
|
|
|
#define __LIBRETRO_CONFIG_H
|
|
|
|
|
2012-11-04 23:29:06 +00:00
|
|
|
#define HAVE__MKDIR 1
|
2012-11-13 18:35:39 +00:00
|
|
|
|
|
|
|
#if defined(_MSC_VER) && !defined(XBOX360)
|
2012-11-04 23:29:06 +00:00
|
|
|
#define LSB_FIRST
|
2012-11-13 18:35:39 +00:00
|
|
|
#endif
|
|
|
|
|
2012-11-04 23:29:06 +00:00
|
|
|
#define SIZEOF_DOUBLE 8
|
2012-11-13 18:35:39 +00:00
|
|
|
#define WANT_DEBUGGER 0
|
|
|
|
|
2012-11-04 23:29:06 +00:00
|
|
|
#define _(x) (x)
|
|
|
|
#define PSS "/"
|
|
|
|
#define round(x) (floorf((x) + 0.5f))
|
2012-11-13 18:35:39 +00:00
|
|
|
|
|
|
|
#ifdef _MSC_VER
|
2012-11-04 23:29:06 +00:00
|
|
|
#define strdup _strdup
|
|
|
|
#define strtoull _strtoui64
|
|
|
|
#define strtoll _strtoi64
|
2012-11-13 18:35:39 +00:00
|
|
|
#define snprintf _snprintf
|
|
|
|
#define strcasecmp(x,y) _stricmp(x,y)
|
|
|
|
#define strncasecmp(x, y, l) strnicmp(x, y, l)
|
|
|
|
#endif
|
|
|
|
|
2012-11-04 23:29:06 +00:00
|
|
|
#define _USE_MATH_DEFINES
|
|
|
|
#define world_strtod strtod
|
|
|
|
|
|
|
|
#define MEDNAFEN_VERSION "0.999.999-WIP"
|
|
|
|
#define MEDNAFEN_VERSION_NUMERIC 0x999999
|
2012-11-13 18:35:39 +00:00
|
|
|
|
|
|
|
#endif /* __LIBRETRO_CONFIG_H
|