/*
 * @configure_input@
 * configure-sussed platform #defines.
 */
#ifndef __PLATFORM_H__
#define __PLATFORM_H__

#define HostPlatform   @HostPlatform_CPP@
#define TargetPlatform @TargetPlatform_CPP@
#define BuildPlatform  @BuildPlatform_CPP@

/* Definitions suitable for use in CPP conditionals */
#define @HostPlatform_CPP@_HOST 1
#define @TargetPlatform_CPP@_TARGET 1
#define @BuildPlatform_CPP@_BUILD 1

#define @HostArch_CPP@_HOST_ARCH 1
#define @TargetArch_CPP@_TARGET_ARCH 1
#define @BuildArch_CPP@_BUILD_ARCH 1

#define @HostOS_CPP@_HOST_OS 1
#define @TargetOS_CPP@_TARGET_OS 1
#define @BuildOS_CPP@_BUILD_OS 1

/* Definitions of strings for use in C or Haskell code */
#define HOST_ARCH	"@HostArch_CPP@"
#define TARGET_ARCH	"@TargetArch_CPP@"
#define BUILD_ARCH	"@BuildArch_CPP@"

#define HOST_OS		"@HostOS_CPP@"
#define TARGET_OS	"@TargetOS_CPP@"
#define BUILD_OS	"@BuildOS_CPP@"

#endif /* __PLATFORM_H__ */
