X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fo_dir.c;h=26242444c885009faa918458584ef2886f619492;hp=ded369f23cf7f34a49d0c74b111523d43929b2dd;hb=15dba5be6a4482a9ad7e5b846291f31e97e338ca;hpb=a90081576c94f9f54de1755188a00ccc1760549a diff --git a/crypto/o_dir.c b/crypto/o_dir.c index ded369f23c..26242444c8 100644 --- a/crypto/o_dir.c +++ b/crypto/o_dir.c @@ -1,6 +1,7 @@ /* crypto/o_dir.c -*- mode:C; c-file-style: "eay" -*- */ -/* Written by Richard Levitte (richard@levitte.org) for the OpenSSL - * project 2004. +/* + * Written by Richard Levitte (richard@levitte.org) for the OpenSSL project + * 2004. */ /* ==================================================================== * Copyright (c) 2004 The OpenSSL Project. All rights reserved. @@ -10,7 +11,7 @@ * are met: * * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. + * notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in @@ -59,9 +60,11 @@ #include #include -/* The routines really come from the Levitte Programming, so to make - life simple, let's just use the raw files and hack the symbols to - fit our namespace. */ +/* + * The routines really come from the Levitte Programming, so to make life + * simple, let's just use the raw files and hack the symbols to fit our + * namespace. + */ #define LP_DIR_CTX OPENSSL_DIR_CTX #define LP_dir_context_st OPENSSL_dir_context_st #define LP_find_file OPENSSL_DIR_read @@ -70,14 +73,14 @@ #include "o_dir.h" #define LPDIR_H -#if defined OPENSSL_SYS_UNIX -#include "LPdir_unix.c" +#if defined OPENSSL_SYS_UNIX || defined DJGPP +# include "LPdir_unix.c" #elif defined OPENSSL_SYS_VMS -#include "LPdir_vms.c" +# include "LPdir_vms.c" #elif defined OPENSSL_SYS_WIN32 -#include "LPdir_win32.c" +# include "LPdir_win32.c" #elif defined OPENSSL_SYS_WINCE -#include "LPdir_wince.c" +# include "LPdir_wince.c" #else -#include "LPdir_nyi.c" +# include "LPdir_nyi.c" #endif