From: John Carr Date: Sun, 23 Feb 1992 12:15:30 +0000 (+0000) Subject: Make use of ANSI stdio configurable X-Git-Tag: krb5-1.0-beta2~237 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0b28e82e4bf068338f61c26c3ae253d4336346b1;p=krb5.git Make use of ANSI stdio configurable git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2225 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kdb/fetch_mkey.c b/src/lib/kdb/fetch_mkey.c index c1fa5272a..c71a2572d 100644 --- a/src/lib/kdb/fetch_mkey.c +++ b/src/lib/kdb/fetch_mkey.c @@ -112,7 +112,7 @@ OLDDECLARG(krb5_keyblock *,key) realm->length)); (void) strcat(defkeyfile, ""); -#if defined(__STDC__) +#ifdef ANSI_STDIO if (!(kf = fopen(defkeyfile, "rb"))) #else if (!(kf = fopen(defkeyfile, "r"))) diff --git a/src/lib/kdb/store_mkey.c b/src/lib/kdb/store_mkey.c index 5b49775c7..ab08d9b9a 100644 --- a/src/lib/kdb/store_mkey.c +++ b/src/lib/kdb/store_mkey.c @@ -73,7 +73,7 @@ krb5_keyblock *key; #if defined(unix) || defined(__unix__) oumask = umask(077); #endif -#if defined(__STDC__) +#ifdef ANSI_STDIO if (!(kf = fopen(keyfile, "wb"))) #else if (!(kf = fopen(keyfile, "w")))