shithub: candycrisis

ref: c34dca177af8139fd3fc735036b0aa881c4ead1f
dir: /src/stdafx.h/

View raw version
///
///  stdafx.h
///

#pragma once

#include <SDL2/SDL.h>
#include <SDL2/SDL_endian.h>
#include <SDL_image.h>

#if _WIN32

#define _CRT_SECURE_NO_WARNINGS 1

#include "targetver.h"

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers
// Windows Header Files:
#include <windows.h>

// C RunTime Header Files
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>

#include "SDL.h"
#include "SDL_endian.h"
#include "SDL_image.h"

#endif
#if __APPLE__

#include <SDL2/SDL.h>
#include <SDL2/SDL_endian.h>
#include <SDL2_image/SDL_image.h>

#endif