35#ifndef _AAX_ENVIRONMENTUTILITIES_H_
36#define _AAX_ENVIRONMENTUTILITIES_H_
40#if (!defined (WINDOWS_VERSION))
41# if (defined (_WIN32))
42# define WINDOWS_VERSION 1
44#elif (defined (MAC_VERSION) || defined (LINUX_VERSION))
45# error "AAX SDK: Cannot declare more than one OS environment"
48#if (!defined (MAC_VERSION))
49# if (defined (__APPLE__) && defined (__MACH__))
50# include "TargetConditionals.h"
55#elif (defined (WINDOWS_VERSION) || defined (LINUX_VERSION))
56# error "AAX SDK: Cannot declare more than one OS environment"
59#if (!defined (LINUX_VERSION))
60# if (defined (__linux__))
61# define LINUX_VERSION 1
63#elif (defined (WINDOWS_VERSION) || defined (MAC_VERSION))
64# error "AAX SDK: Cannot declare more than one OS environment"
67#if (!defined (WINDOWS_VERSION) && !defined (MAC_VERSION) && !defined (LINUX_VERSION))
68# warning "AAX SDK: Unknown OS environment"
73 static bool IsVenueSystem(
void)
76 static const char *
const environmentVariableName =
"JEX_HOST_TYPE";
77 static const char *
const venueEnvironment =
"venue";
78 static const char *
const environment = std::getenv ( environmentVariableName );
79 static const bool isVenue = ( NULL != environment) && (0 == strcmp ( environment, venueEnvironment ) );
Definition: AAX_EnvironmentUtilities.h:72