summaryrefslogtreecommitdiff
path: root/perl.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-10-20 14:05:47 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-10-20 14:05:47 +0000
commite41069f29fc7a1eb2dfac35a2b1b83885adc3694 (patch)
tree0a104bf2a4c0d04896e504a7e0ffe495cf40cb95 /perl.h
parenta2743834587451012d1a8a7aec2b7fe3a37909b9 (diff)
parented1c0269a31901e89fe8c0090d5c6cb7881eeb2f (diff)
downloadperl-e41069f29fc7a1eb2dfac35a2b1b83885adc3694.tar.gz
Integrate perlio:
[ 12530] Fixed in two places - p4 resolve [ 12529] Fix for ithreads/stdio build [ 12525] Avoid calling (now non-existant) Perl_sv_setsv(), by calling Perl_sv_setsv_flags directly. [ 12524] Add a new flag character 'm' to embed.pl set to represent "functions" which are really macros. Use it foe the troublesome sv_setsv() etc. macros in sv.h - changing latter to define sv_setsv rather than sv_setsv_macro etc. [ 12523] Add comments explaining why win32.h/embed.h are included where they are in perl.h [ 12522] Code PerlIOWin32_dup - does not fix Win32 problems as :win32 is not being used yet. [ 12511] Fix gross win32 build issues p4raw-link: @12530 on //depot/perlio: ed1c0269a31901e89fe8c0090d5c6cb7881eeb2f p4raw-link: @12529 on //depot/perlio: e0fa5af24242618e2201252ebce12dfc87892dd1 p4raw-link: @12525 on //depot/perlio: 485caab953a6ba703128628417a156139b8e7a26 p4raw-link: @12524 on //depot/perlio: af3c7592a74e7782bf0779c3272ee86140fadf53 p4raw-link: @12523 on //depot/perlio: 66a93824ccd37b2948fb857056747c3314d2a08c p4raw-link: @12522 on //depot/perlio: aa98ed8a09f34fb745cd31d496ab825619d2c82d p4raw-link: @12511 on //depot/perlio: a0ae667081b123207d4d0f2b6e6b7a5597859a57 p4raw-id: //depot/perl@12531
Diffstat (limited to 'perl.h')
-rw-r--r--perl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl.h b/perl.h
index a7e7461e92..2959df463f 100644
--- a/perl.h
+++ b/perl.h
@@ -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)||defined(VMS))
# include "embed.h"
#endif
@@ -1891,7 +1894,7 @@ typedef pthread_key_t perl_key;
#endif /* NETWARE */
#endif /* USE_5005THREADS || USE_ITHREADS */
-#ifdef WIN32
+#if defined(WIN32)
# include "win32.h"
#endif
@@ -3229,6 +3232,7 @@ END_EXTERN_C
#endif
#if defined(WIN32)
+/* Now all the config stuff is setup we can include embed.h */
# include "embed.h"
#endif