/* -*- Mode: C++ -*- * Worldvisions Weaver Software: * Copyright (C) 1997-2002 Net Integration Technologies, Inc. * * XPLC setup bits. */ #ifndef __WVXPLC_H #define __WVXPLC_H #ifndef UNSTABLE #define UNSTABLE #endif #ifdef _WIN32 #include #include #include #include "wvwin32-sanitize.h" #else #include // not strictly necessary, but EVERYBODY uses this... #include #include "wvautoconf.h" #endif #ifndef ENABLE_DELETE_DETECTOR #include #define deletev delete[] #else #include #include #endif #include #include #include #define WVRELEASE(ptr) do { if (ptr) ptr->release(); ptr = 0; } while (0) #define WVDELETE(ptr) do { delete ptr; ptr = 0; } while (0) #endif // __WVXPLC_H