Add the c++ definition HAVE_CONFIG_H in the scons build and check it before including config.h so the cmake build system doesn't need to worry about conflicts from that file if it exists.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6342 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-11-04 20:33:45 +00:00
parent 4ac40687ea
commit 3aff478b3a
3 changed files with 5 additions and 3 deletions

View File

@ -48,7 +48,9 @@
#include <IOBluetooth/IOBluetoothUserLib.h>
#include <string.h>
#elif defined(__linux__)
#include "config.h"
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#if HAVE_BLUEZ
#include <bluetooth/bluetooth.h>
#endif