Add _FORTIFY_SOURCE to check for overflows

pull/1159/head
Rosen Penev 7 years ago
parent df3c2e712e
commit bbdaf647f3
No known key found for this signature in database
GPG Key ID: 8B5A63249D3D4CE7

@ -30,6 +30,10 @@
#define _FILE_OFFSET_BITS 64
#endif
#ifndef _FORTIFY_SOURCE
#define _FORTIFY_SOURCE 2
#endif
#define NOMINMAX 1
#define MIN(a,b) (((a) < (b)) ? (a) : (b))

Loading…
Cancel
Save