Skip to content
Snippets Groups Projects
Commit 5d2bb536 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

On Linux, #undef Status: we use that name for nested LLProcess struct.

Apparently something in the Linux system header chain #defines a macro Status
as 'int'. That's just Bad in C++ land. It should at the very least be a
typedef! #undefining it in llprocess.h permits the viewer to build.
parent 219a010a
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,10 @@
#if LL_WINDOWS
#define WIN32_LEAN_AND_MEAN
#include <windows.h> // HANDLE (eye roll)
#elif LL_LINUX
#if defined(Status)
#undef Status
#endif
#endif
class LLProcess;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment