-//
-// $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>