aout_ldflags="$aout_ldflags"
aout_d_fork='define'
-aout_ccflags='-DPERL_CORE -DDOSISH -DPERL_IS_AOUT -DOS2=2 -DEMBED -I.'
-aout_cppflags='-DPERL_CORE -DDOSISH -DPERL_IS_AOUT -DOS2=2 -DEMBED -I.'
+aout_ccflags='-DDOSISH -DPERL_IS_AOUT -DOS2=2 -DEMBED -I.'
+aout_cppflags='-DDOSISH -DPERL_IS_AOUT -DOS2=2 -DEMBED -I.'
aout_use_clib='c'
aout_usedl='undef'
aout_archobjs="os2.o dl_os2.o"
nthreads
nthreads_cond
os2_cond_wait
+os2_stat
pthread_join
pthread_create
pthread_detach
/^\s*[\da-f:]+\s+(\w+)/i and $mapped{$1}++ foreach <MAP>;
close MAP or die 'Cannot close miniperl.map';
- @missing = grep { !exists $mapped{$_} } keys %export;
+ @missing = grep { !exists $mapped{$_} and !exists $bincompat5005{$_} }
+ keys %export;
delete $export{$_} foreach @missing;
}
OPTIMIZE = $optimize
AOUT_OPTIMIZE = \$(OPTIMIZE)
-AOUT_CCCMD = \$(CC) $aout_ccflags \$(AOUT_OPTIMIZE)
+AOUT_CCCMD = \$(CC) -DPERL_CORE $aout_ccflags \$(AOUT_OPTIMIZE)
AOUT_AR = $aout_ar
AOUT_OBJ_EXT = $aout_obj_ext
AOUT_LIB_EXT = $aout_lib_ext
# look up the user's home directory
# should return a list with one item, and not set ERROR
if ($^O ne 'MSWin32') {
+ eval {
($name, $home) = (getpwuid($>))[0,7];
+ 1;
+ } and do {
@a = File::Glob::glob("~$name", GLOB_TILDE);
if (scalar(@a) != 1 || $a[0] ne $home || GLOB_ERROR) {
print "not ";
}
+ };
}
print "ok 3\n";
@a = File::Glob::glob("$dir/*", GLOB_ERR);
#print "\@a = ", array(@a);
rmdir $dir;
-if (scalar(@a) != 0 || ($^O ne 'MSWin32' && GLOB_ERROR == 0)) {
+if (scalar(@a) != 0 || (($^O ne 'MSWin32' and $^O ne 'os2')
+ && GLOB_ERROR == 0)) {
print "not ";
}
print "ok 6\n";