mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-04 04:28:30 +00:00
Remove a lot of #ifdef's that simply were not needed. For example: Symbian has zip in-built, no need to even compile it let alone use #ifdef's.
This commit is contained in:
parent
dd03687400
commit
f7ffcd4197
@ -26,9 +26,9 @@ namespace std {
|
||||
using boost::function;
|
||||
using boost::shared_ptr;
|
||||
#else
|
||||
using tr1::bind;
|
||||
using tr1::function;
|
||||
using tr1::shared_ptr;
|
||||
using tr1::bind;
|
||||
using tr1::function;
|
||||
using tr1::shared_ptr;
|
||||
#endif
|
||||
|
||||
template <typename T>
|
||||
|
@ -12,9 +12,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if !defined(__SYMBIAN32__) && !defined(__MAC_10_6)
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
// Higher level wrappers/examples (optional).
|
||||
#include <stdio.h>
|
||||
|
||||
|
@ -59,14 +59,6 @@ extern "C" {
|
||||
#include <stdio.h>
|
||||
#include <time.h>
|
||||
|
||||
#ifdef __SYMBIAN32__
|
||||
#define _stat stat
|
||||
#define _wcsdup wcsdup
|
||||
#define _wfopen wfopen
|
||||
#define _wremove wremove
|
||||
#define _wstat wstat
|
||||
#endif
|
||||
|
||||
/* flags for zip_open */
|
||||
|
||||
#define ZIP_CREATE 1
|
||||
|
@ -5,10 +5,7 @@
|
||||
#include <stdio.h>
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#include <sys/time.h>
|
||||
#ifdef __SYMBIAN32__
|
||||
#include <sys/select.h>
|
||||
#endif
|
||||
#else
|
||||
#include <io.h>
|
||||
#include <winsock2.h>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "file/file_util.h"
|
||||
#include "util/text/utf8.h"
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__SYMBIAN32__)
|
||||
#if defined(__FreeBSD__) || defined(__APPLE__)
|
||||
#define stat64 stat
|
||||
#endif
|
||||
|
||||
|
@ -13,11 +13,7 @@
|
||||
#undef min
|
||||
#undef max
|
||||
#else
|
||||
#if defined(__FreeBSD__) || defined(__SYMBIAN32__)
|
||||
#include <netinet/in.h>
|
||||
#else
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
#include <netdb.h>
|
||||
#include <sys/socket.h>
|
||||
#include <unistd.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user