Skip to content

Commit

Permalink
Portability nit for MinGW 3.
Browse files Browse the repository at this point in the history
Subject: MinGW-3.1.0-1 _CRTIMP definition preempting win32.h's
Message-ID: <20031030141158.A11772@ms>
(actual patch by Abe Timmerman)

p4raw-id: //depot/perl@21617
  • Loading branch information
Greg Matheson authored and rgs committed Nov 2, 2003
1 parent a177e38 commit 1568901
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions win32/win32.h
Expand Up @@ -465,6 +465,9 @@ DllExport int win32_async_check(pTHX);
#ifdef PERL_CORE

/* C doesn't like repeat struct definitions */
#if defined(__MINGW32__) && (__MINGW32_MAJOR_VERSION>=3D3)
#undef _CRTIMP
#endif
#ifndef _CRTIMP
#define _CRTIMP __declspec(dllimport)
#endif
Expand Down

0 comments on commit 1568901

Please sign in to comment.