Add -c to ar to remove a diagnostic, when the archive is created.
[libfirm] / ir / lpp / lpp_comm.h
index 4c425d7..e087e8e 100644 (file)
@@ -1,19 +1,38 @@
-/**
- * @file   lpp_server.h
- * @date   19.07.2005
- * @author Sebastian Hack
+/*
+ * Copyright (C) 2005-2011 University of Karlsruhe.  All right reserved.
+ *
+ * This file is part of libFirm.
+ *
+ * This file may be distributed and/or modified under the terms of the
+ * GNU General Public License version 2 as published by the Free Software
+ * Foundation and appearing in the file LICENSE.GPL included in the
+ * packaging of this file.
+ *
+ * Licensees holding valid libFirm Professional Edition licenses may use
+ * this file in accordance with the libFirm Commercial License.
+ * Agreement provided with the Software.
  *
- * Copyright (C) 2005 Universitaet Karlsruhe
- * Released under the GPL
+ * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+ * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE.
  */
 
-#ifndef _LPP_COMM_H
-#define _LPP_COMM_H
+/**
+ * @file
+ * @author  Sebastian Hack
+ */
+#ifndef LPP_LPP_COMM_H
+#define LPP_LPP_COMM_H
 
 #include <stdio.h>
 #include <stdarg.h>
 #include <stdint.h>
 
+#ifdef _WIN32
+#include <BaseTsd.h>
+typedef SSIZE_T ssize_t;
+#endif
+
 #define LPP_PORT    2175
 #define LPP_BUFSIZE (1 << 20)