Changeset 39e141f for lib/libtrace_int.h


Ignore:
Timestamp:
04/21/06 10:28:36 (15 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
222d8f5
Parents:
d0906e7
Message:

Merge windows portability fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace_int.h

    r97e39a7 r39e141f  
    8282#endif
    8383
     84#ifndef HAVE_STRNCASECMP
     85# ifndef HAVE__STRNICMP
     86int strncasecmp(const char *str1, const char *str2, size_t n);
     87# else
     88# define strncasecmp _strnicmp
     89# endif
     90#endif
     91
     92#ifndef HAVE_SNPRINTF
     93# ifndef HAVE_SPRINTF_S
     94int snprintf(char *str, size_t size, const char *format, ...);
     95# else
     96# define snprintf sprintf_s
     97# endif
     98#endif
    8499
    85100#include "wag.h"
Note: See TracChangeset for help on using the changeset viewer.