Skip to content

Commit 2bdf0d4

Browse files
Cygwin build fix (#1200)
1 parent f6ae92e commit 2bdf0d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/input_output/string_utilities.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ string::find() functions were formerly used.
3434
INCLUDES
3535
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
3636

37+
#ifdef __CYGWIN__
38+
#define _GNU_SOURCE 1
39+
#endif
3740
#include <errno.h>
3841
#include <iostream>
3942
#include <sstream>

0 commit comments

Comments
 (0)