Make use of ANSI stdio configurable
authorJohn Carr <jfc@mit.edu>
Sun, 23 Feb 1992 12:15:30 +0000 (12:15 +0000)
committerJohn Carr <jfc@mit.edu>
Sun, 23 Feb 1992 12:15:30 +0000 (12:15 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2225 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kdb/fetch_mkey.c
src/lib/kdb/store_mkey.c

index c1fa5272a000b487fddd202459002ee2a7e17047..c71a2572de678bdf2bef27bfc671268b9cfa1d69 100644 (file)
@@ -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")))
index 5b49775c72ee82fe1986afd7b7b0044325ff5fe3..ab08d9b9ad8a80ec75d09073e08381684577abdb 100644 (file)
@@ -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")))