Sleipnir
src/vwbi.h
00001 /*****************************************************************************
00002 * This file is provided under the Creative Commons Attribution 3.0 license.
00003 *
00004 * You are free to share, copy, distribute, transmit, or adapt this work
00005 * PROVIDED THAT you attribute the work to the authors listed below.
00006 * For more information, please see the following web page:
00007 * http://creativecommons.org/licenses/by/3.0/
00008 *
00009 * This file is a component of the Sleipnir library for functional genomics,
00010 * authored by:
00011 * Curtis Huttenhower (chuttenh@princeton.edu)
00012 * Mark Schroeder
00013 * Maria D. Chikina
00014 * Olga G. Troyanskaya (ogt@princeton.edu, primary contact)
00015 *
00016 * If you use this library, the included executable tools, or any related
00017 * code in your work, please cite the following publication:
00018 * Curtis Huttenhower, Mark Schroeder, Maria D. Chikina, and
00019 * Olga G. Troyanskaya.
00020 * "The Sleipnir library for computational functional genomics"
00021 *****************************************************************************/
00022 #ifndef VWI_H
00023 #define VWI_H
00024 
00025 #ifndef NO_VOWPAL_WABBIT
00026 
00027 #define go_params   gd_thread_params
00028 #ifdef _MSC_VER
00029 #include <io.h>
00030 #include <pthread.h>
00031 
00032 #define fsync       _commit
00033 #define isnan       _isnan
00034 #define lseek       _lseek
00035 #define open        _open
00036 #define SHUT_WR     1
00037 
00038 typedef size_t  ssize_t;
00039 #endif // _MSC_VER
00040 
00041 #undef int64_t
00042 #pragma warning(disable : 4996 4244 4305 4267)
00043 #include <vw.h>
00044 #pragma warning(default : 4996 4244 4305 4267)
00045 
00046 namespace Sleipnir {
00047 
00048 class CVWImpl {
00049 };
00050 
00051 }
00052 
00053 #endif // NO_VOWPAL_WABBIT
00054 
00055 #endif // VWI_H