diff options
author | John Emmas <johne53@tiscali.co.uk> | 2014-05-27 09:51:39 +0100 |
---|---|---|
committer | John Emmas <johne53@tiscali.co.uk> | 2014-05-27 09:51:39 +0100 |
commit | e2cecadd01cde3e8a0f4fa6ace933998d576e1d9 (patch) | |
tree | 34e7f33502b18ad169367de3baf507850cf05f43 /libs/backends/jack/jack_utils.cc | |
parent | bf4819ab0e9bd917ad02fff4d2158f49c5a8a92f (diff) |
Use PLATFORM_WINDOWS (in preference to WIN32) for consistency with the other libraries
Diffstat (limited to 'libs/backends/jack/jack_utils.cc')
-rw-r--r-- | libs/backends/jack/jack_utils.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/backends/jack/jack_utils.cc b/libs/backends/jack/jack_utils.cc index 01af13fe9c..a917acf5c4 100644 --- a/libs/backends/jack/jack_utils.cc +++ b/libs/backends/jack/jack_utils.cc @@ -105,7 +105,7 @@ get_none_string () void ARDOUR::get_jack_audio_driver_names (vector<string>& audio_driver_names) { -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS audio_driver_names.push_back (portaudio_driver_name); #elif __APPLE__ audio_driver_names.push_back (coreaudio_driver_name); @@ -543,7 +543,7 @@ ARDOUR::get_jack_audio_driver_supports_setting_period_count (const string& drive bool ARDOUR::get_jack_server_application_names (std::vector<std::string>& server_names) { -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS server_names.push_back ("jackd.exe"); #else server_names.push_back ("jackd"); @@ -583,7 +583,7 @@ ARDOUR::get_jack_server_dir_paths (vector<std::string>& server_dir_paths) Searchpath sp(string(g_getenv("PATH"))); -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS gchar *install_dir = g_win32_get_package_installation_directory_of_module (NULL); if (install_dir) { sp.push_back (install_dir); @@ -692,7 +692,7 @@ ARDOUR::get_jack_command_line_string (JackCommandLineOptions& options, string& c args.push_back (options.server_path); -#ifdef WIN32 +#ifdef PLATFORM_WINDOWS // must use sync mode on windows args.push_back ("-S"); @@ -738,7 +738,7 @@ ARDOUR::get_jack_command_line_string (JackCommandLineOptions& options, string& c args.push_back ("-v"); } -#ifndef WIN32 +#ifndef PLATFORM_WINDOWS if (options.temporary) { args.push_back ("-T"); } |