diff options
author | Lev Walkin <vlm@lionet.info> | 2007-08-27 23:57:45 +0000 |
---|---|---|
committer | Lev Walkin <vlm@lionet.info> | 2007-08-27 23:57:45 +0000 |
commit | 27fd0b6a460f46128e2ebf3b24d21bb94cabee93 (patch) | |
tree | c3b3643b9be19cb52f20cd3050afdc5e031bd90f /libasn1compiler/asn1c_compat.c | |
parent | 8f0bb14e381ce45b08e9fcf11bed83dd33e2380e (diff) |
upgraded compatibility
Diffstat (limited to 'libasn1compiler/asn1c_compat.c')
-rw-r--r-- | libasn1compiler/asn1c_compat.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libasn1compiler/asn1c_compat.c b/libasn1compiler/asn1c_compat.c index a6e65781..d89d7f1e 100644 --- a/libasn1compiler/asn1c_compat.c +++ b/libasn1compiler/asn1c_compat.c @@ -13,6 +13,11 @@ #endif #endif +#ifdef HAVE_MKSTEMPS +#undef mkstemp +#define mkstemp(foo) mkstemps(foo, 0) +#endif + FILE * asn1c_open_file(const char *name, const char *ext, char **opt_tmpname) { int created = 1; |