protect from themselves those who need it

This commit is contained in:
Yang Tse 2007-02-28 05:15:56 +00:00
parent e817eb6cec
commit 99dcd33f04
3 changed files with 15 additions and 3 deletions

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -21,6 +21,8 @@
* $Id$
***************************************************************************/
#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(_WIN32_WCE)
#include "amigaos.h"
#include <amitcp/socketbasetags.h>
@ -72,3 +74,5 @@ BOOL amiga_init()
#ifdef __libnix__
ADD2EXIT(amiga_cleanup,-50);
#endif
#endif /* Not for Windows */

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -21,6 +21,8 @@
* $Id$
***************************************************************************/
#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(_WIN32_WCE)
#ifndef LIBCURL_AMIGAOS_H
#define LIBCURL_AMIGAOS_H
@ -56,3 +58,5 @@ extern BOOL amiga_init();
#endif /* __ixemul__ */
#endif /* LIBCURL_AMIGAOS_H */
#endif /* Not for Windows */

View File

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2004, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -21,6 +21,8 @@
* $Id$
***************************************************************************/
#if !defined(WIN32) && !defined(_WIN32) && !defined(__WIN32__) && !defined(_WIN32_WCE)
#include <errno.h>
#include <string.h>
#include <stdlib.h>
@ -298,3 +300,5 @@ void DisposeThreadData(void *data)
free(data);
}
}
#endif /* Not for Windows */