diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-02 07:57:17 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-12-02 07:57:17 +0000 |
| commit | 4d6d2ae1b417133546c56b3150ef51fa7647e2dc (patch) | |
| tree | 4198e3ccd0a5bab17db2a0f82ee7b6c643115c69 /wince/stdlib.c | |
| parent | 1668ec3e5ce555161454e9b2657c89dc27fa1364 (diff) | |
| download | ruby-4d6d2ae1b417133546c56b3150ef51fa7647e2dc.tar.gz ruby-4d6d2ae1b417133546c56b3150ef51fa7647e2dc.tar.xz ruby-4d6d2ae1b417133546c56b3150ef51fa7647e2dc.zip | |
WinCE patch merged
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'wince/stdlib.c')
| -rw-r--r-- | wince/stdlib.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/wince/stdlib.c b/wince/stdlib.c new file mode 100644 index 000000000..b3d5f3bb6 --- /dev/null +++ b/wince/stdlib.c @@ -0,0 +1,22 @@ +/*************************************************************** + stdlib.c +***************************************************************/ + +#include <windows.h> + +char **environ; +extern char * rb_w32_getenv(const char *); + +/* getenv should replace with rb_w32_getenv. */ +char *getenv(const char *env) +{ + return rb_w32_getenv(env); +} + +char *_fullpath(char *absPath, const char *relPath, + size_t maxLength) +{ + strcpy( absPath, relPath ); + return absPath; +} + |
