diff options
author | Christos Zoulas <christos@zoulas.com> | 2018-10-15 16:29:16 +0000 |
---|---|---|
committer | Christos Zoulas <christos@zoulas.com> | 2018-10-15 16:29:16 +0000 |
commit | 71a15e2f48ecb3d7094260087fda1b1a2a870431 (patch) | |
tree | daacda8f7a24944eb5c77ccfd08070ae7a50ea83 /src/file.h | |
parent | ad749031689686ca86df2e0bef2d5033a52d0073 (diff) | |
download | file-git-71a15e2f48ecb3d7094260087fda1b1a2a870431.tar.gz |
- use SIZE_T_FORMAT instead of 'z' in size_t format strings
- compile with c++ again
Diffstat (limited to 'src/file.h')
-rw-r--r-- | src/file.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -27,7 +27,7 @@ */ /* * file.h - definitions for file(1) program - * @(#)$File: file.h,v 1.198 2018/10/01 18:45:39 christos Exp $ + * @(#)$File: file.h,v 1.199 2018/10/15 16:29:16 christos Exp $ */ #ifndef __file_h__ @@ -40,6 +40,9 @@ #ifndef __STDC_LIMIT_MACROS #define __STDC_LIMIT_MACROS #endif +#ifndef __STDC_FORMAT_MACROS +#define __STDC_FORMAT_MACROS +#endif #ifdef WIN32 #ifdef _WIN64 |