summaryrefslogtreecommitdiffstats
path: root/e_os2.h
AgeCommit message (Collapse)Author
2010-07-26Add new type ossl_ssize_t instead of ssize_t and move definitions toDr. Stephen Henson
e_os2.h, this should fix WIN32 compilation issues and hopefully avoid conflicts with other headers which may workaround ssize_t in different ways.
2009-09-23Add attribute to check if return value of certain functions is incorrectlyDr. Stephen Henson
ignored.
2009-04-20Updates from 1.0.0-stable branch.Dr. Stephen Henson
2007-05-20OPENSSL_IMPLEMENT_GLOBAL caused more grief than it's worth (it's used twiceAndy Polyakov
in legacy code). I'd rather just remove it along with legacy interface, but it's probably not as appropriate as I'd like. Reimplement the macro.
2006-04-11Add BeOS support.Ulf Möller
PR: 1312 Submitted by: Oliver Tappe <zooey@hirschkaefer.de> Reviewed by: Ulf Moeller
2005-12-18Put back OPENSSL_SYS_MSDOS definition to revive DJGPP built.Andy Polyakov
PR: 1247
2005-08-02Keep disclaiming 16-bit support.Andy Polyakov
2005-04-13Addenum to http://cvs.openssl.org/chngview?cn=13054.Andy Polyakov
2004-12-19Don't use multiple storage types.Dr. Stephen Henson
2004-07-27The compiler may complain about what looks like a double definition of aRichard Levitte
static variable
2004-06-28Changes for VOS, submitted by Paul Green <Paul.Green@stratus.com>.Richard Levitte
PR: 499
2003-11-28Netware-specific changes,Richard Levitte
PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
2003-03-22To define OPENSSL_NO_FP_API for all MSDOS type targets was unfairRichard Levitte
against DJGPP, and much more restricted than previous definitions.
2003-03-20Because it may be needed in public header files, move the definitionRichard Levitte
of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.
2002-11-15WinCE patchesRichard Levitte
2002-11-13Correct support for SunOS 4.1.3_U1.Richard Levitte
PR: 227
2002-10-10Rhapsody had ftime, Darwin doesn't (any longer?)Richard Levitte
2002-10-09Add a few more VxWorks targets.Richard Levitte
Correct misspelled VXWORKS macros. Add VXWORKS identifying macros to e_os2.h. Add required inclusions and mappings for VxWorks in e_os.h. A few small modifications to make OpenSSL build and work on VxWorks. PR: 253, except for the change that was handled in an earlier commit, and a request for easy build of just parts of OpenSSL.
2002-06-13Tentatively add support for UWIN, a Unix-like environment on top of Windows.Richard Levitte
PR: 62
2002-04-06Recognise DEC C++ as equivalent to DEC C for the definitions of ↵Richard Levitte
OPENSSL_EXTERN and OPENSSL_GLOBAL. Submitted by Compaq.
2001-09-27Apparently, Linux is identified with __linux__ as well.Richard Levitte
2001-07-01Changes to have OpenSSL compile on OS/2.Richard Levitte
Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
2001-05-13It seems like the removal of "extern" before "static" wasn't aRichard Levitte
mistake.
2001-05-13Put back a removed "extern", or many compilers will complain aboutRichard Levitte
redefined variables.
2001-05-12Change Win32 to use EXPORT_VAR_AS_FN.Dr. Stephen Henson
Fix OPENSSL_IMPLEMENT_GLOBAL. Allow Win32 to use EXPORT_VAR_AS_FN in mkdef.pl make update.
2001-05-12Under VC++ _DLL is set to indicate that the applicationDr. Stephen Henson
will be linked against the DLL runtime library. It is automatically set when /MD is used. As a result OpenSSL shouldn't use _DLL to determine if it should set OPENSSL_OPT_WINDLL because this will cause linkage conflicts with static builds which do include the /MD compiler switch.
2001-04-04Correct a typo. linux != linus.Richard Levitte
2001-03-05Add the possibility for option macros and start using it to indicateRichard Levitte
for Windows compilations if DLL linkage is required or not.
2001-03-02Introduce the possibility to access global variables throughRichard Levitte
functions on platform were that's the best way to handle exporting global variables in shared libraries. To enable this functionality, one must configure with "EXPORT_VAR_AS_FN" or defined the C macro "OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter is normally done by Configure or something similar). To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL in the source file (foo.c) like this: OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1; OPENSSL_IMPLEMENT_GLOBAL(double,bar); To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL and OPENSSL_GLOBAL_REF in the header file (foo.h) like this: OPENSSL_DECLARE_GLOBAL(int,foo); #define foo OPENSSL_GLOBAL_REF(foo) OPENSSL_DECLARE_GLOBAL(double,bar); #define bar OPENSSL_GLOBAL_REF(bar) The #defines are very important, and therefore so is including the header file everywere where the defined globals are used. The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition of ASN.1 items, but that structure is a bt different. The largest change is in util/mkdef.pl which has been enhanced with better and easier to understand logic to choose which symbols should go into the Windows .def files as well as a number of fixes and code cleanup (among others, algorithm keywords are now sorted lexicographically to avoid constant rewrites).
2001-02-22Always include opensslconf.h, even if it's already been done before.Richard Levitte
The reason is that some parts are only included when certain other include files have been included. Also, it seems that the rest of the OpenSSL code assumes that all kinds of M$ Windows are MSDOS as well...
2001-02-19Make all configuration macros available for application by makingRichard Levitte
sure they are available in opensslconf.h, by giving them names starting with "OPENSSL_" to avoid conflicts with other packages and by making sure e_os2.h will cover all platform-specific cases together with opensslconf.h. I've checked fairly well that nothing breaks with this (apart from external software that will adapt if they have used something like NO_KRB5), but I can't guarantee it completely, so a review of this change would be a good thing.
2000-12-31Define OPENSSL_EXPORT and OPENSSL_IMPORT and give OPENSSL_EXTERN theRichard Levitte
default value OPENSSL_IMPORT. Explain the use of all those macros.
2000-05-02In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte
"Jan Mikkelsen" <janm@transactionsite.com> correctly states that the OpenSSL header files have #include's and extern "C"'s in an incorrect order. Thusly fixed.
1999-06-09Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).Bodo Möller
Allow configuring the name of that header file.
1999-05-15Use OPENSSL_GLOBAL, OPENSSL_EXTERN instead of GLOBAL and EXTERN.Bodo Möller
1999-05-15e_os* corrections.Bodo Möller