mirror of https://github.com/PCSX2/pcsx2.git
Darwin/OSX __POSIX__ definitions.
This commit is contained in:
parent
7edf747e84
commit
592aacb25a
|
@ -18,7 +18,7 @@
|
|||
#include "CompressedFileReaderUtils.h"
|
||||
#include "CsoFileReader.h"
|
||||
#include "Pcsx2Types.h"
|
||||
#ifdef __linux__
|
||||
#ifdef __POSIX__
|
||||
#include <zlib.h>
|
||||
#else
|
||||
#include <zlib/zlib.h>
|
||||
|
|
|
@ -101,7 +101,7 @@ Comments) 1950 to 1952 in the files http://tools.ietf.org/html/rfc1950
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#ifdef __POSIX__
|
||||
#include <zlib.h>
|
||||
#else
|
||||
#include <zlib/zlib.h>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
#ifndef NAKED_ASM_H
|
||||
#define NAKED_ASM_H
|
||||
|
||||
#ifdef __linux__
|
||||
#ifdef __POSIX__
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
#include "CpuUsageProvider.h"
|
||||
#include "System.h"
|
||||
|
||||
#ifndef __linux__
|
||||
#ifndef __POSIX__
|
||||
#include "SysThreads.h"
|
||||
#endif
|
||||
|
||||
|
|
|
@ -20,13 +20,13 @@
|
|||
#include "sVU_Micro.h"
|
||||
|
||||
//Using assembly code from an external file.
|
||||
#ifdef __linux__
|
||||
#ifdef __POSIX__
|
||||
extern "C" {
|
||||
#endif
|
||||
extern void SuperVUExecuteProgram(u32 startpc, int vuindex);
|
||||
extern void SuperVUEndProgram();
|
||||
extern void svudispfntemp();
|
||||
#ifdef __linux__
|
||||
#ifdef __POSIX__
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue