Move #include <window.h> from all files that include it and common.h to common.h

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1861 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
LPFaint99
2009-01-13 04:23:26 +00:00
parent 2d586139bc
commit f1a3bc1397
21 changed files with 6 additions and 55 deletions

View File

@ -24,6 +24,7 @@
#define CHECK_HEAP_INTEGRITY()
#ifdef _WIN32
#include <windows.h>
#ifdef _DEBUG
#include <crtdbg.h>
#undef CHECK_HEAP_INTEGRITY

View File

@ -19,7 +19,6 @@
#include "DriveUtil.h"
#ifdef _WIN32
#include <windows.h>
#include <winioctl.h>
#endif

View File

@ -29,9 +29,7 @@ and stopped.
// Includes
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
#include <string.h>
#ifdef _WIN32
#include <windows.h>
#else
#ifndef _WIN32
#include <dlfcn.h>
#include <stdio.h>
#endif

View File

@ -19,8 +19,6 @@
#ifndef _WIN32
#include <sys/types.h>
#include <dirent.h>
#else
#include <windows.h>
#endif
#include <string>

View File

@ -19,7 +19,6 @@
#include "FileUtil.h"
#ifdef _WIN32
#include <windows.h>
#include <shlobj.h> // for SHGetFolderPath
#include <shellapi.h>
#include <commdlg.h> // for GetSaveFileName

View File

@ -15,9 +15,7 @@
// Official SVN repository and contact information can be found at
// http://code.google.com/p/dolphin-emu/
#ifdef _WIN32
#include <windows.h>
#else
#ifndef _WIN32
#include <unistd.h>
#include <sys/mman.h>
#include <sys/stat.h>

View File

@ -18,9 +18,7 @@
#include "Common.h"
#include "MemArena.h"
#ifdef _WIN32
#include <windows.h>
#else
#ifndef _WIN32
#include <sys/mman.h>
#include <sys/stat.h>
#include <fcntl.h>

View File

@ -18,10 +18,6 @@
#ifndef _MEMARENA_H
#define _MEMARENA_H
#ifdef _WIN32
#include <windows.h>
#endif
#include "Common.h"
// This class lets you create a block of anonymous RAM, and then arbitrarily map views into it.

View File

@ -18,9 +18,7 @@
#include "Common.h"
#include "MemoryUtil.h"
#ifdef _WIN32
#include <windows.h>
#elif __GNUC__
#ifdef __GNUC__
#include <sys/mman.h>
#include <errno.h>
#include <stdio.h>

View File

@ -19,7 +19,6 @@
#define _THREAD_H
#ifdef _WIN32
#include <windows.h>
#define THREAD_RETURN DWORD WINAPI
#else
#define THREAD_RETURN void*

View File

@ -16,7 +16,6 @@
// http://code.google.com/p/dolphin-emu/
#ifdef _WIN32
#include <windows.h>
#include <mmsystem.h>
#endif