Darwin/OSX __POSIX__ definitions.

This commit is contained in:
Juha Laukkanen 2015-11-17 20:54:26 +02:00
parent 7edf747e84
commit 592aacb25a
5 changed files with 6 additions and 6 deletions

View File

@ -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>

View File

@ -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>

View File

@ -17,7 +17,7 @@
#ifndef NAKED_ASM_H
#define NAKED_ASM_H
#ifdef __linux__
#ifdef __POSIX__
extern "C"
{

View File

@ -18,7 +18,7 @@
#include "CpuUsageProvider.h"
#include "System.h"
#ifndef __linux__
#ifndef __POSIX__
#include "SysThreads.h"
#endif

View File

@ -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