Skip to content

Commit

Permalink
Replace ILMBASE_THREADING_ENABLED with ILMTHREAD_THREADING_ENABLED (#…
Browse files Browse the repository at this point in the history
…1486)

A remnant vestage from v2.X

Signed-off-by: Cary Phillips <[email protected]>
  • Loading branch information
cary-ilm authored Jul 13, 2023
1 parent 2e27f41 commit 4d683ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/lib/OpenEXRCore/internal_structs.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ default_error_handler (
{
const struct _internal_exr_context* pctxt = EXR_CCTXT (ctxt);

#ifdef ILMBASE_THREADING_ENABLED
#ifdef ILMTHREAD_THREADING_ENABLED
# ifdef _WIN32
static CRITICAL_SECTION sMutex;
volatile static long initialized = 0;
Expand All @@ -43,7 +43,7 @@ default_error_handler (
# endif
#endif

#ifdef ILMBASE_THREADING_ENABLED
#ifdef ILMTHREAD_THREADING_ENABLED
# ifdef _WIN32
EnterCriticalSection (&sMutex);
# else
Expand Down Expand Up @@ -71,7 +71,7 @@ default_error_handler (
fprintf (stderr, "<ERROR>: %s\n", msg);
fflush (stderr);

#ifdef ILMBASE_THREADING_ENABLED
#ifdef ILMTHREAD_THREADING_ENABLED
# ifdef _WIN32
LeaveCriticalSection (&sMutex);
# else
Expand Down

0 comments on commit 4d683ec

Please sign in to comment.