[redcode/crythread-2nd-pass] removed platform.h include hack linked to CryThread.h for apple platforms in ILog.h and ISystem.h
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
@@ -6,13 +6,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
// In Mac, including ILog without including platform.h first fails because platform.h
|
||||
// includes CryThread.h which includes CryThread_pthreads.h which uses ILog.
|
||||
// So plaform.h needs the contents of ILog.h.
|
||||
// By including platform.h outside of the guard, we give platform.h the right include order
|
||||
#include <platform.h>
|
||||
|
||||
#ifndef CRYINCLUDE_CRYCOMMON_ILOG_H
|
||||
#define CRYINCLUDE_CRYCOMMON_ILOG_H
|
||||
#pragma once
|
||||
|
||||
@@ -6,13 +6,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
// In Mac, including ISystem without including platform.h first fails because platform.h
|
||||
// includes CryThread.h which includes CryThread_pthreads.h which uses ISystem (gEnv).
|
||||
// So plaform.h needs the contents of ISystem.h.
|
||||
// By including platform.h outside of the guard, we give platform.h the right include order
|
||||
#include <platform.h> // Needed for LARGE_INTEGER (for consoles).
|
||||
|
||||
#ifndef CRYINCLUDE_CRYCOMMON_ISYSTEM_H
|
||||
#define CRYINCLUDE_CRYCOMMON_ISYSTEM_H
|
||||
#pragma once
|
||||
|
||||
Reference in New Issue
Block a user