-//
-// $Id: convert.hh,v 1.2 1999/01/19 11:00:50 voeckler Exp $
-//
-// Author: Jens-S. Vöckler <voeckler@rvs.uni-hannover.de>
+/*
+ * Copyright (C) 1996-2018 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
// Thu Oct 30 1997
//
// (c) 1997 Lehrgebiet Rechnernetze und Verteilte Systeme
-// Universität Hannover, Germany
+// Universit?t Hannover, Germany
//
// Permission to use, copy, modify, distribute, and sell this software
// and its documentation for any purpose is hereby granted without fee,
// ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
// SOFTWARE.
//
-// $Log: convert.hh,v $
// Revision 1.2 1999/01/19 11:00:50 voeckler
// added bool type workaround.
//
#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>