Use .cpp suffix when detecting libraries. On some systems, g++
is required to correctly link with C++ libraries like wxw. Tell OS X that the user is doing something when using the wiimote so that the screensaver doesn't come on when playing a Wii game. Replace unnecessary floating point with integer math. Remove unnecessary <sys/stat.h>'s. Correct a few type nits. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5995 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ def CheckLib(context, name):
|
||||
int main(int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
||||
\n""", '.c')
|
||||
\n""", '.cpp')
|
||||
if not ret:
|
||||
context.env.Replace(LIBS = lastLIBS)
|
||||
|
||||
@@ -72,7 +72,7 @@ def CheckPortaudio(context, version):
|
||||
printf("%d", Pa_GetVersion());
|
||||
return 0;
|
||||
}
|
||||
\n""", '.c')[1]
|
||||
\n""", '.cpp')[1]
|
||||
|
||||
if found:
|
||||
ret = (version <= found)
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
#
|
||||
import os, os.path
|
||||
import re
|
||||
import sys
|
||||
import glob
|
||||
import string
|
||||
|
||||
|
||||
Reference in New Issue
Block a user