This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
g++ heavy shoveling
authorJarkko Hietaniemi <jhi@iki.fi>
Wed, 2 Aug 2006 00:04:42 +0000 (03:04 +0300)
committerH.Merijn Brand <h.m.brand@xs4all.nl>
Wed, 2 Aug 2006 11:20:55 +0000 (11:20 +0000)
Message-ID: <44CFC1EA.2050702@iki.fi>

p4raw-id: //depot/metaconfig@28650

U/perl/dlsrc.U

index dbd7837..dd5c478 100644 (file)
@@ -18,7 +18,7 @@
 ?X:
 ?MAKE:usedl ld dlsrc cccdlflags lddlflags ccdlflags: \
        Getfile Myread test osname sed i_dld d_dlopen Findhdr Setvar \
-       cc ccflags ldflags ls gccversion cat rsrc src run i_stdlib
+       cc ccflags ldflags ls gccversion cat rsrc src run i_stdlib i_unistd
 ?MAKE: -pick add $@ %<
 ?Y:BOTTOM
 ?S:usedl:
@@ -165,6 +165,10 @@ EOM
 #ifdef I_STDLIB
 #include <stdlib.h>
 #endif
+#$i_unistd I_UNISTD
+#ifdef I_UNISTD
+#include <unistd.h>
+#endif
 int main() {
        char b[4];
        int i = open("a.out",O_RDONLY);