diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-03-18 10:02:14 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-03-18 11:46:11 +0800 |
commit | 7bccd8984cc5b3206155b462d3c2a7bf6748641f (patch) | |
tree | 7b644b5755501d43f24ee78649ed017aba2f1317 /emulator/opengl/host/tools/emugen/main.cpp | |
parent | 22d4c0e3f236da14f7aa89c32886c99fa97ee936 (diff) | |
download | sdk-7bccd8984cc5b3206155b462d3c2a7bf6748641f.zip sdk-7bccd8984cc5b3206155b462d3c2a7bf6748641f.tar.gz sdk-7bccd8984cc5b3206155b462d3c2a7bf6748641f.tar.bz2 |
Fix compilation error due to missing getopt with x86_64-linux-glibc2.11-4.8
Unlike its 4.6 counterpart, the new
x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/x86_64-linux/bits/gthr-default.h
(line #39) no longer unconditionally include unistd.h which provides getopt prototype
Change-Id: I53310bb0f27e6ed7b4ee732ef301c4868decccb4
Diffstat (limited to 'emulator/opengl/host/tools/emugen/main.cpp')
-rw-r--r-- | emulator/opengl/host/tools/emugen/main.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/emulator/opengl/host/tools/emugen/main.cpp b/emulator/opengl/host/tools/emugen/main.cpp index d9778ae..c0c24e9 100644 --- a/emulator/opengl/host/tools/emugen/main.cpp +++ b/emulator/opengl/host/tools/emugen/main.cpp @@ -20,10 +20,7 @@ #include "strUtils.h" #include "ApiGen.h" #include "TypeFactory.h" - -#ifdef _WIN32 #include "getopt.h" -#endif const std::string SPEC_EXTENSION = std::string(".in"); const std::string ATTRIB_EXTENSION = std::string(".attrib"); |