X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fyconfig.h;h=fbb6d48c2f47a5f0713413bef13dbee33c3add36;hb=13671e7cc0f3dd4e4b02f94d64a50778c5696ba6;hp=9d831f0d9a984d84d2e9df94fcf59a245ee40e49;hpb=78e049108ef4c65f1dc3dddd747e59b90b75a9a6;p=yaz-moved-to-github.git diff --git a/include/yaz/yconfig.h b/include/yaz/yconfig.h index 9d831f0..fbb6d48 100644 --- a/include/yaz/yconfig.h +++ b/include/yaz/yconfig.h @@ -1,10 +1,13 @@ +/* + * Copyright (c) 1995-2000, Index Data. + * See the file LICENSE for details. + * + * $Id: yconfig.h,v 1.5 2000-03-01 09:53:32 adam Exp $ + */ + #ifndef YCONFIG_H #define YCONFIG_H -#if HAVE_CONFIG_H -#include -#endif - #ifndef YAZ_EXPORT # ifdef WIN32 # define YAZ_EXPORT __declspec(dllexport) @@ -13,6 +16,12 @@ # endif #endif +#ifndef WIN32 +# ifndef O_BINARY +# define O_BINARY 0 +# endif +#endif + #ifdef __cplusplus #define YAZ_BEGIN_CDECL extern "C" { #define YAZ_END_CDECL }