00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkRuby.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 #ifndef __vtkRuby_h 00016 #define __vtkRuby_h 00017 00018 #undef _POSIX_THREADS 00019 00020 #include "vtkToolkits.h" 00021 00022 #include "ruby.h" 00023 00024 #ifndef NUM2ULL 00025 #define NUM2ULL(val) ((unsigned LONG_LONG)NUM2LL(val)) 00026 #endif 00027 00028 #undef write 00029 #undef read 00030 #undef open 00031 #undef close 00032 00033 #endif