From 0b28e82e4bf068338f61c26c3ae253d4336346b1 Mon Sep 17 00:00:00 2001 From: John Carr Date: Sun, 23 Feb 1992 12:15:30 +0000 Subject: [PATCH] Make use of ANSI stdio configurable git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2225 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kdb/fetch_mkey.c | 2 +- src/lib/kdb/store_mkey.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"))) -- 2.26.2