diff options
author | Timo Schulz <[email protected]> | 2003-09-28 17:16:03 +0000 |
---|---|---|
committer | Timo Schulz <[email protected]> | 2003-09-28 17:16:03 +0000 |
commit | 4b929ff36d0356ee66c3f072151109947a36fef7 (patch) | |
tree | d8de849d4a76bfa8586e933cc7d66e91291a8a28 | |
parent | 2003-09-28 Timo Schulz <[email protected]> (diff) | |
download | gnupg-4b929ff36d0356ee66c3f072151109947a36fef7.tar.gz gnupg-4b929ff36d0356ee66c3f072151109947a36fef7.zip |
2003-09-28 Timo Schulz <[email protected]>
* util.h [WIN32]: Prototype for asprintf.
* dynload.h [WIN32]: Define RTLD_LAZY.
-rw-r--r-- | include/ChangeLog | 5 | ||||
-rw-r--r-- | include/dynload.h | 2 | ||||
-rw-r--r-- | include/util.h | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 44eed96bf..e9f720fe9 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2003-09-28 Timo Schulz <[email protected]> + + * util.h [WIN32]: Prototype for asprintf. + * dynload.h [WIN32]: Define RTLD_LAZY. + 2003-09-28 Werner Koch <[email protected]> * util.h: Add the atoi_* and xtoi_* suite of macros from 1.9. diff --git a/include/dynload.h b/include/dynload.h index a2e051c25..c8aadb49c 100644 --- a/include/dynload.h +++ b/include/dynload.h @@ -26,6 +26,8 @@ #else #include <windows.h> +#define RTLD_LAZY 0 + static __inline__ void * dlopen (const char * name, int flag) { diff --git a/include/util.h b/include/util.h index b0d8613ce..08ea7a78e 100644 --- a/include/util.h +++ b/include/util.h @@ -241,7 +241,8 @@ int write_w32_registry_string(const char *root, const char *dir, const char *name, const char *value); /*-- strgutil.c --*/ -int vasprintf ( char **result, const char *format, va_list args); +int vasprintf (char **result, const char *format, va_list args); +int asprintf (char **buf, const char *fmt, ...); #endif /**** other missing stuff ****/ |