diff options
Diffstat (limited to 'Build/source/texk/dvisvgm/dvisvgm-src/src/Process.cpp')
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/Process.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/Process.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/Process.cpp index 09540568b6b..753ebfec253 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/Process.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/Process.cpp @@ -20,7 +20,7 @@ #include <config.h> -#ifdef __WIN32__ +#ifdef _WIN32 #include <windows.h> #else #include <fcntl.h> @@ -43,7 +43,7 @@ Process::Process (const string &cmd, const string ¶mstr) } -#ifdef __WIN32__ +#ifdef _WIN32 static void pipe_read (HANDLE handle, string &out) { char buf[4096]; out.clear(); @@ -108,7 +108,7 @@ static void split_paramstr (string ¶mstr, vector<const char*> ¶ms) { * @return true if process terminated properly * @throw SignalException if CTRL-C was pressed during execution */ bool Process::run (string *out) { -#ifdef __WIN32__ +#ifdef _WIN32 SECURITY_ATTRIBUTES sa; ZeroMemory(&sa, sizeof(SECURITY_ATTRIBUTES)); sa.nLength = sizeof(SECURITY_ATTRIBUTES); |