mirror of
https://github.com/libretro/Play-.git
synced 2024-11-28 03:00:49 +00:00
Cleanup
Replace WIN32 preprocessor with _WIN32
This commit is contained in:
parent
510e0407d4
commit
75f7d0792b
@ -6,7 +6,7 @@
|
||||
#include "IszImageStream.h"
|
||||
#include "CsoImageStream.h"
|
||||
#include "StdStream.h"
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
#include "VolumeStream.h"
|
||||
#else
|
||||
#include "Posix_VolumeStream.h"
|
||||
@ -43,7 +43,7 @@ DiskUtils::Iso9660Ptr DiskUtils::CreateDiskImageFromPath(const boost::filesystem
|
||||
{
|
||||
stream = std::make_shared<CCsoImageStream>(CreateImageStream(imagePath));
|
||||
}
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
else if(imagePath.string()[0] == '\\')
|
||||
{
|
||||
stream = std::make_shared<Framework::Win32::CVolumeStream>(imagePath.string()[4]);
|
||||
|
@ -48,7 +48,7 @@ struct MIPSSTATE
|
||||
uint32 nDelayedJumpAddr;
|
||||
uint32 nHasException;
|
||||
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
__declspec(align(16))
|
||||
#else
|
||||
__attribute__((aligned(16)))
|
||||
@ -73,7 +73,7 @@ __attribute__((aligned(16)))
|
||||
uint32 nFCSR;
|
||||
|
||||
//COP2
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
__declspec(align(16))
|
||||
#else
|
||||
__attribute__((aligned(16)))
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include "MailBox.h"
|
||||
#if defined(WIN32)
|
||||
#if defined(_WIN32)
|
||||
#include "win32/Win32Defs.h"
|
||||
#endif
|
||||
|
||||
|
@ -290,7 +290,7 @@ GLuint CGSH_OpenGL::PreparePalette(const TEX0& tex0)
|
||||
|
||||
void CGSH_OpenGL::DumpTexture(unsigned int nWidth, unsigned int nHeight, uint32 checksum)
|
||||
{
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
char sFilename[256];
|
||||
|
||||
for(unsigned int i = 0; i < UINT_MAX; i++)
|
||||
|
@ -44,7 +44,6 @@ add_definitions(-D_IOP_EMULATE_MODULES)
|
||||
add_definitions(-DGLEW_STATIC)
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DWIN32) #TODO: replace WIN32 preprocessors with _WIN32
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
|
||||
add_definitions(-D_LIB)
|
||||
|
Loading…
Reference in New Issue
Block a user