diff options
author | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-10-20 09:17:17 +0000 |
---|---|---|
committer | Nick Ing-Simmons <nik@tiuk.ti.com> | 2001-10-20 09:17:17 +0000 |
commit | 66a93824ccd37b2948fb857056747c3314d2a08c (patch) | |
tree | 58a6cd63f0290277829766d95ee6ae2fe5ac29c6 /perl.h | |
parent | aa98ed8a09f34fb745cd31d496ab825619d2c82d (diff) | |
download | perl-66a93824ccd37b2948fb857056747c3314d2a08c.tar.gz |
Add comments explaining why win32.h/embed.h are included where they are
in perl.h
p4raw-id: //depot/perlio@12523
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -425,6 +425,9 @@ int usleep(unsigned int); # define MYSWAP #endif +/* Cannot include embed.h here on Win32 as win32.h has not + yet been included and defines some config variables e.g. HAVE_INTERP_INTERN + */ #if !defined(PERL_FOR_X2P) && !defined(WIN32) # include "embed.h" #endif @@ -1890,7 +1893,7 @@ typedef pthread_key_t perl_key; #endif /* NETWARE */ #endif /* USE_5005THREADS || USE_ITHREADS */ -#ifdef WIN32 +#if defined(WIN32) # include "win32.h" #endif @@ -3228,6 +3231,7 @@ END_EXTERN_C #endif #if defined(WIN32) +/* Now all the config stuff is setup we can include embed.h */ # include "embed.h" #endif |