From 82fbd232c88404e82e4b5daa172b00c9dffe5520 Mon Sep 17 00:00:00 2001 From: Brian Cox Date: Fri, 25 Mar 2016 11:45:54 -0700 Subject: [PATCH] Add a .gitignore file (adapted from github.com/steakknife/tripwire fork); fix a Cygwin warning in tchar.h. --- .gitignore | 24 ++++++++++++++++++++++++ src/core/tchar.h | 3 ++- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..78181fd --- /dev/null +++ b/.gitignore @@ -0,0 +1,24 @@ +stamp-h1 +config.h +config.h.in~ +config.log +config.status +compile +autom4te.cache/ +bin/ +lib/ +**/Makefile +**/*.o +**/*.dylib +**/*.a +**/*.so +**/*.dll +**/siggen +**/tripwire +**/twadmin +**/twprint +**/siggen.exe +**/tripwire.exe +**/twadmin.exe +**/twprint.exe +releases/ diff --git a/src/core/tchar.h b/src/core/tchar.h index d584123..b6bac6b 100644 --- a/src/core/tchar.h +++ b/src/core/tchar.h @@ -125,8 +125,9 @@ typedef std::ifstream TIFSTREAM; #define _T(x) x // misc... +#ifndef __cdecl #define __cdecl - +#endif #endif // WIN32