summaryrefslogtreecommitdiff
path: root/portability.h
Commit message (Expand)AuthorAgeFilesLines
* Squelch -Wformat-nonliteral in pcap_vasprintf().Denis Ovsienko2023-02-191-1/+2
* Get the previous commit right.Denis Ovsienko2021-03-311-4/+4
* Define timeradd() and timersub() if necessary.Denis Ovsienko2021-03-311-0/+24
* Revert "Don't wrap chunks of headers with extern "C" { ... }."Guy Harris2021-03-171-5/+13
* Don't wrap chunks of headers with extern "C" { ... }.Guy Harris2021-03-171-13/+5
* Don't use ctype.h macros.Guy Harris2019-08-311-2/+0
* Remove some workarounds for old compilers.Guy Harris2019-08-091-39/+5
* Use asprintf(), and provide a version for systems that lack it.Guy Harris2019-02-091-0/+18
* Put the Windows-vs-non-Windows socket defines in <pcap/socket.h>.Guy Harris2019-01-091-28/+0
* Don't include pcap/pcap.h just to get SOCKET defined.Guy Harris2019-01-071-0/+28
* *Two* underscores in __isascii in MSVC.Guy Harris2018-10-161-1/+1
* Provide out own strlcpy() and strlcat() routines if necessary.Guy Harris2018-10-161-39/+32
* MSVC doesn't have isascii(), but it does have _isascii().Guy Harris2018-10-151-0/+2
* Avoid redefining HAVE_SNPRINTFAli Abdulkadir2018-03-161-12/+0
* Handle fopen() and fopen_s() differently.Guy Harris2017-10-311-10/+0
* Get rid of setbuf() macro; use setvbuf() instead.Guy Harris2017-09-301-4/+2
* If we're going to use FILE *, we need to include <stdio.h> first.Guy Harris2017-09-301-0/+7
* Use strtok_r as strtok_s under MinGW as wellAli Abdulkadir2017-09-211-1/+1
* Move all the function attributes from funcattrs.h to pcap/funcattrs.h.Guy Harris2017-09-081-1/+1
* Move the PRI[doux]64 definitions to pcap-types.h.Guy Harris2017-09-051-44/+0
* Don't use sscanf_s() as a sscanf() replacement.Guy Harris2017-09-041-1/+0
* We may have to define strdup even if _DEBUG is defined.Guy Harris2017-09-031-1/+7
* Define more feature test macros and do so in a separate header file.Guy Harris2017-03-201-18/+0
* Force strtok_r() to be declared if it's present.Guy Harris2017-03-201-0/+18
* Merge pull request #568 from gvanem/masterGuy Harris2017-03-191-0/+2
|\
| * In MSVC debug-mode ('-MDd' or '-MTd'), there is an important warning onGisle Vanem2017-03-161-0/+2
* | Use compiler #defines to determine how to handle some function attributes.Guy Harris2017-03-191-19/+4
|/
* Fix declaration of pcap_strtok_r().Gisle Vanem2017-03-141-1/+1
* Have a strlcat() macro for UN*X platforms that lack it.Guy Harris2017-03-131-6/+23
* Fix builds on MinGW.Guy Harris2016-08-131-4/+7
* Add a wrapper for strtok_r().Guy Harris2016-08-111-5/+17
* Move definition of HAVE_SNPRINTF to portability.h.Guy Harris2016-08-021-1/+17
* Move some additional stuff to portability.h.Guy Harris2016-08-021-0/+50
* Replace fopen() with fopen_s() on Windows.Yang Luo2016-07-291-0/+3
* Replace setbuf() with setvbuf() on Windows.Yang Luo2016-07-291-0/+2
* Fix MSVC compile warnings on the WinPcap specific code.Yang Luo2016-07-291-0/+8
* Move the definition of strdup to portability.h.Guy Harris2016-07-281-0/+4
* Move portability declarations/definitions to portability.h.Guy Harris2016-07-281-0/+118