Move msvc_compat.h to compat/ dir

This commit is contained in:
twinaphex 2014-10-21 06:06:12 +02:00
parent 54d0de3891
commit 480cd7c7ba
21 changed files with 17 additions and 20 deletions

View File

@ -25,7 +25,7 @@
#include <stdlib.h>
#include <string.h>
#ifdef _WIN32
#include "../../msvc/msvc_compat.h"
#include "../../compat/msvc_compat.h"
#endif
#if !defined(RESAMPLER_TEST) && defined(RARCH_INTERNAL)

View File

@ -20,7 +20,7 @@
#include "xaudio-c.h"
#include <stdint.h>
#include <stdio.h>
#include "../../msvc/msvc_compat.h"
#include "../../compat/msvc_compat.h"
#include <boolean.h>
#define MAX_BUFFERS 16

View File

@ -26,7 +26,7 @@
#include <stdlib.h>
#include <ctype.h>
#ifdef _MSC_VER
#include "../msvc/msvc_compat.h"
#include "msvc_compat.h"
#endif
char *optarg;

View File

@ -18,7 +18,7 @@
#ifdef _WIN32
#include "../msvc/msvc_compat.h"
#include "msvc_compat.h"
#ifdef __cplusplus
extern "C" {

View File

@ -21,7 +21,7 @@
#include <errno.h>
#include "../compat/strl.h"
#include "../compat/posix_string.h"
#include "../msvc/msvc_compat.h"
#include "../compat/msvc_compat.h"
#include "../file.h"
#include "../file_path.h"
#include "../general.h"

View File

@ -22,7 +22,7 @@
#ifdef _MSC_VER
#define setmode _setmode
#endif
#include "msvc/msvc_compat.h"
#include "compat/msvc_compat.h"
#ifdef _XBOX
#include <xtl.h>
#define INVALID_FILE_ATTRIBUTES -1

View File

@ -23,7 +23,7 @@
#include "libretro_private.h"
#include <stdlib.h>
#include <stdint.h>
#include "msvc/msvc_compat.h"
#include "compat/msvc_compat.h"
#include "gfx/scaler/scaler.h"
#include "gfx/image/image.h"
#include "gfx/filters/softfilter.h"

View File

@ -18,7 +18,7 @@
#include <string.h>
#include "file_list.h"
#include "compat/strcasestr.h"
#include "msvc/msvc_compat.h"
#include "compat/msvc_compat.h"
void file_list_push(file_list_t *list,
const char *path, const char *label,

View File

@ -44,7 +44,6 @@
#ifdef _MSC_VER
#define setmode _setmode
#endif
#include "msvc/msvc_compat.h"
#ifdef _XBOX
#include <xtl.h>
#define INVALID_FILE_ATTRIBUTES -1

View File

@ -60,7 +60,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#include "msvc/msvc_compat.h"
#include "compat/msvc_compat.h"
#endif
/* Wii and PSL1GHT - for usleep (among others) */

View File

@ -18,7 +18,7 @@
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include "../../msvc/msvc_compat.h"
#include "../../compat/msvc_compat.h"
#include <boolean.h>
#define ATLAS_COLS 16

View File

@ -17,7 +17,7 @@
#include <string.h>
#include "shader_parse.h"
#include "../../compat/posix_string.h"
#include "../../msvc/msvc_compat.h"
#include "../../compat/msvc_compat.h"
#include "../../file.h"
#include "../../file_path.h"
#include "../../compat/strl.h"

View File

@ -23,7 +23,7 @@
#endif
#if defined(_MSC_VER)
#include "../msvc/msvc_compat.h"
#include "../compat/msvc_compat.h"
#endif
/*============================================================

2
hash.h
View File

@ -43,7 +43,7 @@
#include <stdint.h>
#include <stddef.h>
#include "msvc/msvc_compat.h"
#include "compat/msvc_compat.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

View File

@ -22,7 +22,7 @@
#endif
#include <stdarg.h>
#include "msvc/msvc_compat.h"
#include "../compat/msvc_compat.h"
// FIXME: Using arbitrary string as fmt argument is unsafe.
static inline void RARCH_LOG_V(const char *tag, const char *fmt, va_list ap)

View File

@ -35,7 +35,7 @@
#elif defined(_WIN32) && defined(_XBOX)
#include <Xtl.h>
#endif
#include "msvc/msvc_compat.h"
#include "compat/msvc_compat.h"
#include "retroarch_logger.h"
#include "endianness.h"

View File

@ -19,7 +19,7 @@
#include "patch.h"
#include "hash.h"
#include <boolean.h>
#include "msvc/msvc_compat.h"
#include "compat/msvc_compat.h"
#include <stdint.h>
#include <string.h>

View File

@ -16,7 +16,6 @@
*/
#include "playlist.h"
#include "msvc/msvc_compat.h"
#include "compat/posix_string.h"
#include "boolean.h"
#include "file.h"

View File

@ -13,7 +13,7 @@
* If not, see <http://www.gnu.org/licenses/>.
*/
#include "../msvc/msvc_compat.h"
#include "../compat/msvc_compat.h"
#ifdef HAVE_CONFIG_H
#include "../config.h"

View File

@ -56,7 +56,6 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
#include "msvc/msvc_compat.h"
#endif
static bool take_screenshot_viewport(void)