Skip to content

Commit

Permalink
Remove last vestiges of old ifdef for windows previously removed else…
Browse files Browse the repository at this point in the history
…where

Previously PLATFORM_WINDOWS was used to conditionally include things,
but that had been removed elsewhere, and a few spots missed.

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
  • Loading branch information
kdt3rd committed Jul 21, 2019
1 parent 34e2e78 commit b365185
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions IlmBase/Iex/IexBaseExc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include "IexBaseExc.h"
#include "IexMacros.h"

#ifdef PLATFORM_WINDOWS
#ifdef _WIN32
#include <windows.h>
#endif

Expand Down Expand Up @@ -193,7 +193,7 @@ BaseExc::stackTrace () const
IEX_INTERNAL_NAMESPACE_SOURCE_EXIT


#ifdef PLATFORM_WINDOWS
#ifdef _WIN32

#pragma optimize("", off)
void
Expand Down
4 changes: 2 additions & 2 deletions IlmBase/Iex/IexThrowErrnoExc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#include <string.h>
#include <errno.h>

#ifdef PLATFORM_WINDOWS
#ifdef _WIN32
#include <windows.h>
#endif

Expand All @@ -55,7 +55,7 @@ IEX_INTERNAL_NAMESPACE_SOURCE_ENTER

void throwErrnoExc (const std::string &text, int errnum)
{
#ifdef PLATFORM_WINDOWS
#ifdef _WIN32
if (0 != getenv("IEXDEBUGTHROW"))
DebugBreak();
#endif
Expand Down
3 changes: 1 addition & 2 deletions OpenEXR/exrmultipart/exrmultipart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ using namespace OPENEXR_IMF_NAMESPACE;

#if defined(ANDROID) || defined(__ANDROID_API__)
#define IMF_PATH_SEPARATOR "/"
#elif defined(_WIN32) || defined(_WIN64) || defined(__MWERKS__) || defined(PLATFORM_WINDOWS)
#elif defined(_WIN32) || defined(_WIN64) || defined(__MWERKS__)
#define IMF_PATH_SEPARATOR "\\"
#else
#define IMF_PATH_SEPARATOR "/"
Expand Down Expand Up @@ -827,4 +827,3 @@ main (int argc, char * argv[])

return 0;
}

2 changes: 1 addition & 1 deletion OpenEXR_Viewers/exrdisplay/ImageView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
#include <algorithm>
#include <stdio.h>

#if defined PLATFORM_WINDOWS || defined _WIN32
#if defined _WIN32
#include <windows.h>
#include <FL/Fl.H>
#include <GL/gl.h>
Expand Down

0 comments on commit b365185

Please sign in to comment.