summaryrefslogtreecommitdiff
path: root/libs/ardour/globals.cc
diff options
context:
space:
mode:
authorJohn Emmas <johne53@tiscali.co.uk>2013-08-04 19:03:32 +0100
committerJohn Emmas <johne53@tiscali.co.uk>2013-08-04 19:03:32 +0100
commit0dc8806ee473f96d1f480f7a50b7a39efaf6d90a (patch)
tree2b82ec97fb14c89fe1316561c950def46e5aa85d /libs/ardour/globals.cc
parentd176cbc80476cdc8ca082631efc171ea39116d63 (diff)
'libs/ardour' - Platform specific changes and includes
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r--libs/ardour/globals.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc
index c0fca7c7a0..57b1e2db65 100644
--- a/libs/ardour/globals.cc
+++ b/libs/ardour/globals.cc
@@ -29,7 +29,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/time.h>
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
#include <sys/resource.h>
#endif
#include <unistd.h>
@@ -201,7 +201,7 @@ setup_hardware_optimization (bool try_optimization)
static void
lotsa_files_please ()
{
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
struct rlimit rl;
if (getrlimit (RLIMIT_NOFILE, &rl) == 0) {