Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

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.5 2003/12/17 17:57:18 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 <wefts_config.h>
00027 #endif
00028 
00029 // Detect OSTAIL used (underlying threading library)
00030 #if defined( HAVE_LIBPTHREAD )
00031 #include <wefts_os_pthread.h>
00032 #elif defined( HAVE_WIN_THREADS )
00033 #include <wefts_os_windows.h>
00034 #else
00035 #error "Current system still not implemented"
00036 #endif
00037 
00038 // Detect OS-COFFEE used (underlying filesystem interface)
00039 #ifdef HAVE_UNISTD_H
00040 #include <wefts_coffee_unix.h>
00041 #endif
00042 
00043 // Currently, windows threads are available only under windows
00044 #elif defined( HAVE_WIN_THREADS )
00045 #include <wefts_coffee_win.h>
00046 #else
00047 
00048 // COFFEE is NOT essential, so no error if we can't find it.
00049 
00050 #endif
00051 /* end of wefts_os_pthread.h */

Generated on Mon Dec 22 04:12:30 2003 for Wefts by doxygen1.2.18