aboutsummaryrefslogtreecommitdiffstats
path: root/e_os.h
Commit message (Collapse)AuthorAgeFilesLines
* e_os.h: limit _MSC_VER trickery to older compilers.Andy Polyakov2015-12-031-2/+2
| | | | | | PR: #3390, backport from 1.0.2. Reviewed-by: Matt Caswell <matt@openssl.org>
* Use both sun and __sunKurt Roeckx2015-11-241-2/+2
| | | | | Reviewed-by: Andy Polyakov <appro@openssl.org> (cherry picked from commit ed02493567390cac6d07447f193fcaac5b219af3)
* Use defined(__sun) instead of defined(sun)Kurt Roeckx2015-11-221-2/+2
| | | | | | | | | | Strict ISO confirming C compilers only define __sun Reviewed-by: Viktor Dukhovni <openssl-users@dukhovni.org> RT #4144, MR #1353 (cherry picked from commit 3d32218812e87221344f2985512e42e4aaa88745)
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-501/+517
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* mark all block comments that need format preserving so thatTim Hudson2015-01-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | indent will not alter them when reformatting comments (cherry picked from commit 1d97c8435171a7af575f73c526d79e1ef0ee5960) Conflicts: crypto/bn/bn_lcl.h crypto/bn/bn_prime.c crypto/engine/eng_all.c crypto/rc4/rc4_utl.c crypto/sha/sha.h ssl/kssl.c ssl/t1_lib.c Conflicts: crypto/rc4/rc4_enc.c crypto/x509v3/v3_scts.c crypto/x509v3/v3nametest.c ssl/d1_both.c ssl/s3_srvr.c ssl/ssl.h ssl/ssl_locl.h ssl/ssltest.c ssl/t1_lib.c Reviewed-by: Tim Hudson <tjh@openssl.org>
* Avoid deprecation problems in Visual Studio 13Matt Caswell2015-01-131-1/+3
| | | | | Reviewed-by: Andy Polyakov <appro@openssl.org> (cherry picked from commit 86d21d0b9577322ac5da0114c5fac16eb49b4cef)
* e_os.h: refine inline override logic (to address warnings in debug build).Andy Polyakov2014-10-171-3/+3
| | | | | Reviewed-by: Dr Stephen Henson <steve@openssl.org> (cherry picked from commit 55c7a4cf112bf154ed405ee05a6b7924b6b1ba92)
* e_os.h: allow inline functions to be compiled by legacy compilers.Andy Polyakov2014-10-171-9/+16
| | | | | Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 40155f408985aff2e9f1b61b7cb04a3e518633a1)
* define inline for Visual StudioEmilia Kasper2014-08-211-2/+10
| | | | | | | | | In Visual Studio, inline is available in C++ only, however __inline is available for C, see http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Dr Stephen Henson <steve@openssl.org> (cherry picked from commit f511b25a7370c775dc9fd6198dbacd1706cf242b)
* Avoid Windows 8 Getversion deprecated errors.Dr. Stephen Henson2014-02-251-0/+7
| | | | | | | | | | | | Windows 8 SDKs complain that GetVersion() is deprecated. We only use GetVersion like this: (GetVersion() < 0x80000000) which checks if the Windows version is NT based. Use a macro check_winnt() which uses GetVersion() on older SDK versions and true otherwise. (cherry picked from commit a4cc3c8041104896d51ae12ef7b678c31808ce52)
* Backport ossl_ssize_t type from HEAD.Dr. Stephen Henson2011-10-101-12/+0
|
* fix PR#2261 in a different wayDr. Stephen Henson2010-05-311-4/+0
|
* PR: 2261Dr. Stephen Henson2010-05-271-0/+3
| | | | | | | Submitted By: De Rudder, Stephen L." <s_derudder@tditx.com> Workaround for newer Windows headers which define EADDRINUSE but not to the same value as WSAEADDRINUSE.
* PR: 2005Dr. Stephen Henson2009-08-261-0/+12
| | | | | | | | | Submitted by: steve@openssl.org Some systems have broken IPv6 headers and/or implementations. If OPENSSL_USE_IPV6 is set to 0 IPv6 is not used, if it is set to 1 it is used and if undefined an attempt is made to detect at compile time by checking if AF_INET6 is set and excluding known problem platforms.
* PR: 1894Dr. Stephen Henson2009-04-161-4/+4
| | | | | | | Submitted by: Ger Hobbelt <ger@hobbelt.com> Approved by: steve@openssl.org Fix various typos and stuff.
* This _WIN32-specific patch makes it possible to "wrap" OpenSSL in anotherAndy Polyakov2008-12-221-1/+27
| | | | | | | .DLL, in particular static build. The issue has been discussed in RT#1230 and later on openssl-dev, and mutually exclusive approaches were suggested. This completes compromise solution suggested in RT#1230. PR: 1230
* Netware support.Dr. Stephen Henson2008-01-031-11/+22
| | | | Submitted by: Guenter Knauf <eflash@gmx.net>
* Addendum to commit #16651.Andy Polyakov2007-10-071-0/+8
|
* Fix mingw warnings.Andy Polyakov2006-10-231-1/+4
|
* Add BeOS support.Ulf Möller2006-04-111-0/+18
| | | | | | PR: 1312 Submitted by: Oliver Tappe <zooey@hirschkaefer.de> Reviewed by: Ulf Moeller
* Compile Windows with winsock2.h. But note that we still link with wsock32!Andy Polyakov2006-01-021-0/+12
| | | | | This works because wsock32 commonly loads ws2_32 anyway and we [intend to] check upon presense of winsock2-specific API at run-time.
* Keep disclaiming 16-bit platform support. For now remove WIN16 referencesAndy Polyakov2005-12-181-22/+2
| | | | from .h files...
* Tidying up WinCE support.Andy Polyakov2005-11-091-8/+13
|
* First draft for WCE PortSDK support. Once again! It's *draft* which requiresAndy Polyakov2005-11-061-1/+3
| | | | more work, i.e. more modifications are due...
* Engage OPENSSL_NO_POSIX_IO on Windows CE.Andy Polyakov2005-11-031-0/+1
|
* Make cygwin work in directories mounted with 'text' attribute.Andy Polyakov2005-11-031-0/+4
|
* Fix SunOS 4 building issue.Andy Polyakov2005-09-221-1/+1
| | | | PR: 1196
* "Overload" SunOS 4.x memcmp, which ruins ASN1_OBJECT table lookups.Andy Polyakov2005-09-201-0/+3
| | | | | PR: 1196 Submitted by: Russel Ruby
* WCE-specific fix for cryptlib.c.Andy Polyakov2005-08-021-1/+1
|
* Pull up Win64 support from 0.9.8.Andy Polyakov2005-07-051-0/+19
|
* Undefine DECRANDOM before redefining it.Richard Levitte2005-06-191-0/+1
| | | | PR: 1110
* Move the definition of DEVRANDOM for DJGPP from Configure to e_os.h.Richard Levitte2005-06-181-0/+1
| | | | | | That should solve the issues with propagating it through the Makefiles. PR: 1110
* Netware patch submitted by Verdon Walker" <VWalker@novell.com> in PRRichard Levitte2005-06-131-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | 1107. He says: This is a followup to the NetWare patch that was applied to beta3. It does the following: - Fixes a problem in the CLib build with undefined symbols. - Adds the ability to use BSD sockets as the default for the OpenSSL socket BIO. NetWare supports 2 flavors of sockets and our Apache developers need BSD sockets as a configurable option when building OpenSSL. This adds that for them. - Updates to the INSTALL.NW file to explain new options. I have tried very hard to make sure all the changes are in NetWare specific files or guarded carefully to make sure they only impact NetWare builds. I have tested the Windows build to make sure it does not break that since we have made changes to mk1mf.pl. We are still working the gcc cross compile for NetWare issue and hope to have a patch for that before beta 6 is released.
* Updated support for NetWare, submitted by Verdon Walker <VWalker@novell.com>.Richard Levitte2005-06-051-5/+1
| | | | PR: 1098
* Move _WIN32_WINNT definition from command line to e_os.h. The change isAndy Polyakov2005-05-211-0/+17
| | | | | inspired by VC6 failure report. In addition abstain from taking screen snapshots when running in NT service context.
* Rely on e_os.h to appropriately define str[n]casecmp in non-POSIXAndy Polyakov2005-01-131-0/+1
| | | | environments.
* NetWare fixes provided by Verdon Walker for OpenSSL 0.9.8-dev.Richard Levitte2004-06-281-0/+5
| | | | | | The changes have been mailed to <crypt@bis.doc.gov> as well. PR: 903
* o_str.h isn't a public header file.Richard Levitte2004-03-241-1/+1
|
* Netware-specific changes,Richard Levitte2003-11-281-0/+36
| | | | | | PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte
* Further VxWorks changes from Bob Bradley <bob@chaoticsoftware.com>, thisRichard Levitte2003-09-281-4/+7
| | | | time involving VxWorks on MIPS
* Add necessary changes to be able to build on VxWorks for PPC860.Richard Levitte2003-09-271-1/+1
| | | | Contributed by Bob Bradley <bob@chaoticsoftware.com>
* Generalise the definition of strcasecmp() and strncasecmp() forRichard Levitte2003-09-091-1/+20
| | | | | | platforms that don't (necessarely) have it. In the case of VMS, this means moving a couple of functions from apps/ to crypto/ and make them general (although only used privately).
* EXIT() should mainly be exit(n), not return(n). OPENSSL_EXIT() willRichard Levitte2003-06-191-1/+1
| | | | take care of returning if necessary.
* Make sure ssize_t is defined on SunOS4.Richard Levitte2003-06-121-0/+2
| | | | PR: 585
* Because it may be needed in public header files, move the definitionRichard Levitte2003-03-201-1/+1
| | | | of OPENSSL_NO_FP_API on existence of OPENSSL_SYS_MSDOS to e_os2.h.
* DJGPP patches.Richard Levitte2002-12-041-0/+3
| | | | PR: 347
* EXIT() may mean return(). That's confusing, so let's have it really meanRichard Levitte2002-12-031-15/+15
| | | | | | exit() in whatever way works for the intended platform, and define OPENSSL_EXIT() to have the old meaning (the name is of course because it's only used in the openssl program)
* Windows CE updates, contributed by Steven Reddie <smr@essemer.com.au>Richard Levitte2002-12-031-3/+0
|
* Make sure EXIT() can always be used as one statement.Richard Levitte2002-11-281-3/+3
|
* WinCE patchesRichard Levitte2002-11-151-1/+12
|