wefts_os.h

Go to the documentation of this file.
00001 /* 00002 wefts_os.h 00003 Select correct OS dependant libraries. 00004 00005 $Id: wefts_os.h,v 1.9 2004/03/28 11:41:21 jonnymind Exp $ 00006 --------------------------------------------- 00007 Begin : 2003-08-03 17:50 00008 Author : Giancarlo Niccolai 00009 00010 Last modified because: 00011 00012 */ 00013 00014 /************************************************************************** 00015 * This program is free software; you can redistribute it and/or modify * 00016 * it under the terms of the GNU Library General Public License as * 00017 * published by the Free Software Foundation; either version 2.1 of the * 00018 * License, or (at your option) any later version. * 00019 ***************************************************************************/ 00020 00021 00022 #ifndef WT_OS_H 00023 #define WT_OS_H 00024 00025 #ifdef HAVE_CONFIG_H 00026 #include <config.h> 00027 #endif 00028 00029 #ifdef _MSC_VER 00030 #pragma warning ( disable : 4786 ) 00031 #endif 00032 00033 // Detect OSTAIL used (underlying threading library) 00034 #if defined( HAVE_LIBPTHREAD ) 00035 #include <wefts_os_pthread.h> 00036 #include <wefts_proc_pthread.h> 00037 #elif defined( HAVE_WIN_THREADS ) 00038 #include <wefts_os_windows.h> 00039 #include <wefts_proc_win.h> 00040 #else 00041 #error "Current system still not implemented" 00042 #endif 00043 00044 // Detect OS-COFFEE used (underlying filesystem interface) 00045 // Currently, windows threads are available only under windows 00046 #if defined( HAVE_WIN_THREADS ) 00047 #include <wefts_coffee_win.h> 00048 #elif defined( HAVE_UNISTD_H ) 00049 #include <wefts_coffee_unix.h> 00050 #endif 00051 00052 00053 // COFFEE is NOT essential, so no error if we can't find it. 00054 00055 #endif 00056 /* end of wefts_os.h */

Generated on Tue Oct 5 14:57:00 2004 for Wefts by doxygen 1.3.7