summaryrefslogtreecommitdiff
path: root/e_os2.h
Commit message (Collapse)AuthorAgeFilesLines
* ifdef cleanup part 3: OPENSSL_SYSNAMERich Salz2015-01-231-30/+17
| | | | | | | | Rename OPENSSL_SYSNAME_xxx to OPENSSL_SYS_xxx Remove MS_STATIC; it's a relic from platforms <32 bits. Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org>
* Drop redundant and outdated __CYGWIN32__ tests.Corinna Vinschen2015-01-221-1/+1
| | | | | | | | | Change OPENSSL_SYSNAME_CYGWIN32 to OPENSSL_SYSNAME_CYGWIN. Drop outdated Cygwin targets. RT#3605 Signed-off-by: Corinna Vinschen <vinschen@redhat.com> Reviewed-by: Tim Hudson <tjh@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-148/+152
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* RT3548: Remove some unsupported platforms.Rich Salz2015-01-121-3/+0
| | | | | | | | | This commit removes NCR, Tandem, Cray. Regenerates TABLE. Removes another missing BEOS fluff. The last platform remaining on this ticket is WIN16. Reviewed-by: Richard Levitte <levitte@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2014-12-301-28/+30
| | | | | | | indent will not alter them when reformatting comments Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* RT3548: Remove unsupported platforms.Rich Salz2014-12-221-3/+0
| | | | | | This commit removes MPE/iX Reviewed-by: Andy Polyakov <appro@openssl.org>
* RT3548: Remvoe unsupported platformsRich Salz2014-12-211-7/+0
| | | | | | This commit removes SunOS (a sentimental favorite of mine). Reviewed-by: Richard Levitte <levitte@openssl.org>
* RT3548: Remove outdated platformsRich Salz2014-12-191-1/+1
| | | | | | This commit removes all mention of NeXT and NextStep. Reviewed-by: Richard Levitte <levitte@openssl.org>
* RT3548: Remove some obsolete platformsRich Salz2014-12-181-4/+1
| | | | | | This commit removes Sony NEWS4 Reviewed-by: Richard Levitte <levitte@openssl.org>
* RT3548: Remove some obsolete platformsRich Salz2014-12-171-11/+0
| | | | | | This commit removes BEOS. Reviewed-by: Richard Levitte <levitte@openssl.org>
* RT3544: Remove MWERKS supportRich Salz2014-09-241-14/+0
| | | | | | | | | | | | The following #ifdef tests were all removed: __MWERKS__ MAC_OS_pre_X MAC_OS_GUSI_SOURCE MAC_OS_pre_X OPENSSL_SYS_MACINTOSH_CLASSIC OPENSSL_SYS_MACOSX_RHAPSODY Reviewed-by: Andy Polyakov <appro@openssl.org>
* Undo a90081576c94f9f54de1755188a00ccc1760549aRich Salz2014-08-091-1/+1
| | | | Undo unapproved commit that removed DJGPP and WATT32
* Remove DJGPP (and therefore WATT32) #ifdef's.Rich Salz2014-08-081-1/+1
| | | | | | DJGPP is no longer a supported platform. Remove all #ifdef, etc., cases that refer to it. DJGPP also #define'd WATT32, so that is now removed as well.
* PR: 2563Dr. Stephen Henson2011-12-191-1/+7
| | | | | | | Submitted by: Paul Green <Paul.Green@stratus.com> Reviewed by: steve Improved PRNG seeding for VOS.
* Add new type ossl_ssize_t instead of ssize_t and move definitions toDr. Stephen Henson2010-07-261-0/+21
| | | | | e_os2.h, this should fix WIN32 compilation issues and hopefully avoid conflicts with other headers which may workaround ssize_t in different ways.
* Add attribute to check if return value of certain functions is incorrectlyDr. Stephen Henson2009-09-231-0/+6
| | | | ignored.
* Updates from 1.0.0-stable branch.Dr. Stephen Henson2009-04-201-1/+1
|
* OPENSSL_IMPLEMENT_GLOBAL caused more grief than it's worth (it's used twiceAndy Polyakov2007-05-201-6/+5
| | | | | 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.
* Add BeOS support.Ulf Möller2006-04-111-0/+11
| | | | | | PR: 1312 Submitted by: Oliver Tappe <zooey@hirschkaefer.de> Reviewed by: Ulf Moeller
* Put back OPENSSL_SYS_MSDOS definition to revive DJGPP built.Andy Polyakov2005-12-181-0/+7
| | | | PR: 1247
* Keep disclaiming 16-bit support.Andy Polyakov2005-08-021-14/+1
|
* Addenum to http://cvs.openssl.org/chngview?cn=13054.Andy Polyakov2005-04-131-2/+2
|
* Don't use multiple storage types.Dr. Stephen Henson2004-12-191-1/+1
|
* The compiler may complain about what looks like a double definition of aRichard Levitte2004-07-271-3/+4
| | | | static variable
* Changes for VOS, submitted by Paul Green <Paul.Green@stratus.com>.Richard Levitte2004-06-281-0/+5
| | | | PR: 499
* Netware-specific changes,Richard Levitte2003-11-281-0/+6
| | | | | | PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
* To define OPENSSL_NO_FP_API for all MSDOS type targets was unfairRichard Levitte2003-03-221-1/+3
| | | | against DJGPP, and much more restricted than previous definitions.
* Because it may be needed in public header files, move the definitionRichard Levitte2003-03-201-0/+1
| | | | of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.
* WinCE patchesRichard Levitte2002-11-151-1/+5
|
* Correct support for SunOS 4.1.3_U1.Richard Levitte2002-11-131-0/+3
| | | | PR: 227
* Rhapsody had ftime, Darwin doesn't (any longer?)Richard Levitte2002-10-101-0/+4
|
* Add a few more VxWorks targets.Richard Levitte2002-10-091-0/+5
| | | | | | | | | 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.
* Tentatively add support for UWIN, a Unix-like environment on top of Windows.Richard Levitte2002-06-131-8/+13
| | | | PR: 62
* Recognise DEC C++ as equivalent to DEC C for the definitions of ↵Richard Levitte2002-04-061-0/+3
| | | | | | OPENSSL_EXTERN and OPENSSL_GLOBAL. Submitted by Compaq.
* Apparently, Linux is identified with __linux__ as well.Richard Levitte2001-09-271-1/+1
|
* Changes to have OpenSSL compile on OS/2.Richard Levitte2001-07-011-0/+6
| | | | Contributed by "Brian Havard" <brianh@kheldar.apana.org.au>
* It seems like the removal of "extern" before "static" wasn't aRichard Levitte2001-05-131-1/+1
| | | | mistake.
* Put back a removed "extern", or many compilers will complain aboutRichard Levitte2001-05-131-1/+1
| | | | redefined variables.
* Change Win32 to use EXPORT_VAR_AS_FN.Dr. Stephen Henson2001-05-121-2/+2
| | | | | | | | Fix OPENSSL_IMPLEMENT_GLOBAL. Allow Win32 to use EXPORT_VAR_AS_FN in mkdef.pl make update.
* Under VC++ _DLL is set to indicate that the applicationDr. Stephen Henson2001-05-121-3/+0
| | | | | | | | | | 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.
* Correct a typo. linux != linus.Richard Levitte2001-04-041-1/+1
|
* Add the possibility for option macros and start using it to indicateRichard Levitte2001-03-051-1/+16
| | | | for Windows compilations if DLL linkage is required or not.
* Introduce the possibility to access global variables throughRichard Levitte2001-03-021-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Always include opensslconf.h, even if it's already been done before.Richard Levitte2001-02-221-2/+5
| | | | | | | | 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...
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-3/+149
| | | | | | | | | | | | 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.
* Define OPENSSL_EXPORT and OPENSSL_IMPORT and give OPENSSL_EXTERN theRichard Levitte2000-12-311-8/+27
| | | | default value OPENSSL_IMPORT. Explain the use of all those macros.
* In Message-ID: <003201bfb332$14a07520$0801a8c0@janm.transactionsite.com>,Richard Levitte2000-05-021-2/+2
| | | | | | "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.
* Some pre-POSIX systems don't have unistd.h (but e.g. lib.c).Bodo Möller1999-06-091-0/+10
| | | | Allow configuring the name of that header file.
* Use OPENSSL_GLOBAL, OPENSSL_EXTERN instead of GLOBAL and EXTERN.Bodo Möller1999-05-151-12/+0
|
* e_os* corrections.Bodo Möller1999-05-151-0/+40