aboutsummaryrefslogtreecommitdiffstats
path: root/common/w32help.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-04-14 14:39:16 +0000
committerWerner Koch <[email protected]>2010-04-14 14:39:16 +0000
commit53c636c4c666ab27440fb4a866bf0ae32f0aa517 (patch)
treeac6d1e065b3f65bec63484d636c1ed0b19dbf8d1 /common/w32help.h
parentWhole lot of changes to support CE. (diff)
downloadgnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.tar.gz
gnupg-53c636c4c666ab27440fb4a866bf0ae32f0aa517.zip
./autogen.sh --build-w32ce does now succeed.
Diffstat (limited to 'common/w32help.h')
-rw-r--r--common/w32help.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/w32help.h b/common/w32help.h
index 6bc9f6605..beabdedef 100644
--- a/common/w32help.h
+++ b/common/w32help.h
@@ -33,6 +33,15 @@ int write_w32_registry_string (const char *root, const char *dir,
/* Setmode is missing in cegcc but available since CE 5.0. */
int _setmode (int handle, int mode);
# define setmode(a,b) _setmode ((a),(b))
+
+static inline int
+umask (int a)
+{
+ (void)a;
+ return 0;
+}
+
+
#endif /*HAVE_W32CE_SYSTEM*/
#endif /*HAVE_W32_SYSTEM*/