Graphviz
13.0.0~dev.20241220.2304
Loading...
Searching...
No Matches
strcasecmp.h
Go to the documentation of this file.
1
4
5
#pragma once
6
7
#include <stddef.h>
8
9
#ifdef _MSC_VER
10
// redirect these to the Windows alternatives
11
12
#include <string.h>
13
14
// some third-party libraries like libgd provide their own macro-based
15
// `strcasecmp` shim, so only define our own if their’s is not in scope
16
#ifndef strcasecmp
17
static
inline
int
strcasecmp(
const
char
*
s1
,
const
char
*s2) {
18
return
_stricmp(
s1
, s2);
19
}
20
#endif
21
22
static
inline
int
strncasecmp(
const
char
*
s1
,
const
char
*s2,
size_t
n) {
23
return
_strnicmp(
s1
, s2, n);
24
}
25
26
#else
27
// other platforms define these in strings.h
28
#include <strings.h>
29
30
#endif
s1
NEATOPROCS_API void s1(graph_t *, node_t *)
Definition
stuff.c:671
lib
util
strcasecmp.h
Generated by
1.9.8