sinamas/gambatte — pull request #1 by bentley (2013-05-31 04:53:02+00:00)
Title: Use arrays instead of dicts. Fixes build on OpenBSD.

Currently the build fails on OpenBSD with:

g++ -o src/gambatte_sdl.o -c -Wall -Wextra -O2 -fomit-frame-pointer -fno-excepti
ons -fno-rtti -pthread -R/usr/X11R6/lib "-D{'HAVE_STDINT_H': None}" -D_GNU_SOURC
E=1 -D_REENTRANT -DXTHREADS "-D{'GAMBATTE_SDL_VERSION_STR': '\\"r532\\"'}" -Isrc
-I/tmp/gambatte/libgambatte/include -I/tmp/gambatte/common -I/usr/local/include
-I/usr/local/include/SDL -I/usr/X11R6/include src/gambatte_sdl.cpp
: error: macro names must be identifiers
: error: macro names must be identifiers
: warning: missing terminating ' character
scons: *** [src/gambatte_sdl.o] Error 1

Using arrays instead of dicts lets gambatte_sdl build.