]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - tools/purge/convert.hh
SourceFormat Enforcement
[thirdparty/squid.git] / tools / purge / convert.hh
index 164f135a71a02ea17b963de2a23624246a8732a8..136a825824c250df84738053fead822088dbaa06 100644 (file)
@@ -1,6 +1,11 @@
-//
-// $Id$
-//
+/*
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
+ *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
+ */
+
 // Author:  Jens-S. V?ckler <voeckler@rvs.uni-hannover.de>
 //
 // File:    convert.hh
 #ifndef _CONVERT_HH
 #define _CONVERT_HH
 
-#if defined(__GNUC__) || defined(__GNUG__)
-#pragma interface
-#else
-#ifndef HAS_BOOL
-#define HAS_BOOL
-typedef int bool;
+#if !defined(__cplusplus)
+#ifndef HAVE_BOOL
+#define HAVE_BOOL 1
+typedef char bool;
 #define false 0
 #define true  1
 #endif
-#endif
+#endif /* __cplusplus */
 
 #include <sys/types.h>
 #include <sys/socket.h>