comparison dw.hpp @ 2907:afd2d900d1e9

C++: Need to include string.h for strlen() on some platforms.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 26 Dec 2022 22:35:25 +0000
parents 9d6280f206bd
children 1567f787b965
comparison
equal deleted inserted replaced
2906:9d6280f206bd 2907:afd2d900d1e9
4 */ 4 */
5 5
6 #ifndef _HPP_DW 6 #ifndef _HPP_DW
7 #define _HPP_DW 7 #define _HPP_DW
8 #include <dw.h> 8 #include <dw.h>
9 #include <string.h>
9 10
10 // Attempt to support compilers without nullptr type literal 11 // Attempt to support compilers without nullptr type literal
11 #if __cplusplus >= 201103L 12 #if __cplusplus >= 201103L
12 #define DW_CPP11 13 #define DW_CPP11
13 #define DW_NULL nullptr 14 #define DW_NULL nullptr