22#ifndef _AAX_ENVIRONMENTUTILITIES_H_
23#define _AAX_ENVIRONMENTUTILITIES_H_
27#if (!defined (WINDOWS_VERSION))
28# if (defined (_WIN32))
29# define WINDOWS_VERSION 1
31#elif (defined (MAC_VERSION) || defined (LINUX_VERSION))
32# error "AAX SDK: Cannot declare more than one OS environment"
35#if (!defined (MAC_VERSION))
36# if (defined (__APPLE__) && defined (__MACH__))
37# include "TargetConditionals.h"
42#elif (defined (WINDOWS_VERSION) || defined (LINUX_VERSION))
43# error "AAX SDK: Cannot declare more than one OS environment"
46#if (!defined (LINUX_VERSION))
47# if (defined (__linux__))
48# define LINUX_VERSION 1
50#elif (defined (WINDOWS_VERSION) || defined (MAC_VERSION))
51# error "AAX SDK: Cannot declare more than one OS environment"
54#if (!defined (WINDOWS_VERSION) && !defined (MAC_VERSION) && !defined (LINUX_VERSION))
55# warning "AAX SDK: Unknown OS environment"
60 static bool IsVenueSystem(
void)
63 static const char *
const environmentVariableName =
"JEX_HOST_TYPE";
64 static const char *
const venueEnvironment =
"venue";
65 static const char *
const environment = std::getenv ( environmentVariableName );
66 static const bool isVenue = ( NULL != environment) && (0 == strcmp ( environment, venueEnvironment ) );
Definition: AAX_EnvironmentUtilities.h:59