summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl.h4
-rw-r--r--wince/Makefile.ce15
-rw-r--r--wince/config.ce2
-rw-r--r--wince/perldll.def3
-rw-r--r--wince/wince.c18
5 files changed, 30 insertions, 12 deletions
diff --git a/perl.h b/perl.h
index 052ae8d88a..0d5f1cef20 100644
--- a/perl.h
+++ b/perl.h
@@ -1360,6 +1360,10 @@ typedef NVTYPE NV;
# endif
#endif
+#ifdef UNDER_CE
+int isnan(double d);
+#endif
+
#ifndef Perl_isinf
# ifdef HAS_ISINF
# define Perl_isinf(x) isinf((NV)x)
diff --git a/wince/Makefile.ce b/wince/Makefile.ce
index ab1f68d45f..71eb7deaa7 100644
--- a/wince/Makefile.ce
+++ b/wince/Makefile.ce
@@ -1,21 +1,21 @@
# perl makefile for wince
#
-# Time-stamp: <07/09/01 15:46:36 keuchel@keuchelnt>
+# Time-stamp: <26/10/01 15:10:06 keuchel@keuchelnt>
SRCDIR = ..
PV = 57
INST_VER = 5.7.2
PERLCEDIR = H:\src\wince\perl\wince
WCEROOT = N:\Windows CE Tools
-#WCEROOT = D:\Windows CE Tools
+WCEROOT = D:\Windows CE Tools
NTPERL = N:\Programme\perl\bin\perl.exe
-#NTPERL = D:\Programme\ActiveState\perl-5.6\bin\Perl.exe
+NTPERL = D:\Programme\ActiveState\perl-5.6\bin\Perl.exe
CEPATH = N:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
-#CEPATH = D:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
-CELIBDLLDIR = h:\src\wince\celib-palm
+CEPATH = D:\Programme\Microsoft eMbedded Tools\EVC\WCE211\BIN
+CELIBDLLDIR = h:\src\wince\celib-palm-3.0
CECONSOLEDIR = h:\src\wince\w32console
# Only for WIN2000
-YES = /y
+#YES = /y
COPY = copy $(YES)
XCOPY = xcopy $(YES) /f /r /i /d
RCOPY = xcopy $(YES) /f /r /i /e /d
@@ -290,7 +290,8 @@ STARTOBJS = $(CECONSOLEDIR)/$(MACHINE)/wmain.obj \
# common section
CEDEFS = -D_WINDOWS -D_WIN32_WCE=$(CEVersion) -DUNDER_CE=$(CEVersion) \
- $(MCFLAGS)
+ $(MCFLAGS) -D PERL
+
#CEDEFS = $(CEDEFS) -DDEBUGGING_OPS
CECFLAGS = $(CEDEFS)
diff --git a/wince/config.ce b/wince/config.ce
index 57b3ca6bb4..d6efedb230 100644
--- a/wince/config.ce
+++ b/wince/config.ce
@@ -155,7 +155,7 @@ d_fstatfs='undef'
d_fstatvfs='undef'
d_ftello='undef'
d_ftime='define'
-d_getcwd='undef'
+d_getcwd='define'
d_getfsstat='undef'
d_getgrent='undef'
d_getgrps='undef'
diff --git a/wince/perldll.def b/wince/perldll.def
index 41b94cdc7b..01ed086770 100644
--- a/wince/perldll.def
+++ b/wince/perldll.def
@@ -884,11 +884,8 @@ EXPORTS
Perl_taint_proper
Perl_tmps_grow
Perl_to_uni_lower
- Perl_to_uni_lower_lc
Perl_to_uni_title
- Perl_to_uni_title_lc
Perl_to_uni_upper
- Perl_to_uni_upper_lc
Perl_to_utf8_lower
Perl_to_utf8_title
Perl_to_utf8_upper
diff --git a/wince/wince.c b/wince/wince.c
index e9c9c8c3b3..c34928e250 100644
--- a/wince/wince.c
+++ b/wince/wince.c
@@ -1,6 +1,6 @@
/* WINCE.C - stuff for Windows CE
*
- * Time-stamp: <01/08/01 19:29:57 keuchel@w2k>
+ * Time-stamp: <26/10/01 15:25:20 keuchel@keuchelnt>
*
* You may distribute under the terms of either the GNU General Public
* License or the Artistic License, as specified in the README file.
@@ -1597,3 +1597,19 @@ Perl_sys_intern_clear(pTHX)
# endif
}
+//////////////////////////////////////////////////////////////////////
+
+#undef getcwd
+
+char *
+getcwd(char *buf, size_t size)
+{
+ return xcegetcwd(buf, size);
+}
+
+int
+isnan(double d)
+{
+ return _isnan(d);
+}
+