mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
Prevent Python from stripping off the final newline of the main(){}
autoconfiguration tests. Some versions of gcc care enough about ANSI C to complain about this. Use the Linux install hierarchy conventions on other Unices as well. XKeysymToString returns NULL on unknown keysyms, which is not a valid std::string initializer. There appears to be some disagreement regarding the second parameter to iconv(). Some versions/installations have it as const, others don't. Unfortunately, due to wonderful C++ brain damage, implicit conversion from const to non-const doesn't work here. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5945 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -16,8 +16,8 @@ def CheckLib(context, name):
|
||||
ret = context.TryLink("""
|
||||
int main(int argc, char **argv) {
|
||||
return 0;
|
||||
}
|
||||
""", '.c')
|
||||
}
|
||||
\n""", '.c')
|
||||
if not ret:
|
||||
context.env.Replace(LIBS = lastLIBS)
|
||||
|
||||
@ -72,7 +72,7 @@ def CheckPortaudio(context, version):
|
||||
printf("%d", Pa_GetVersion());
|
||||
return 0;
|
||||
}
|
||||
""", '.c')[1]
|
||||
\n""", '.c')[1]
|
||||
|
||||
if found:
|
||||
ret = (version <= found)
|
||||
|
Reference in New Issue
Block a user