| /* |
| * Licensed to the Apache Software Foundation (ASF) under one or more |
| * contributor license agreements. See the NOTICE file distributed with |
| * this work for additional information regarding copyright ownership. |
| * The ASF licenses this file to You under the Apache License, Version 2.0 |
| * (the "License"); you may not use this file except in compliance with |
| * the License. You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| #pragma once |
| |
| #ifndef GEODE_CONFIG_H_ |
| #define GEODE_CONFIG_H_ |
| |
| #cmakedefine HAVE_SYS_MOUNT_H |
| |
| #cmakedefine CMAKE_USE_PTHREADS_INIT |
| #if defined(CMAKE_USE_PTHREADS_INIT) |
| #cmakedefine HAVE_PTHREAD_H |
| #cmakedefine HAVE_PTHREAD_HX |
| #cmakedefine HAVE_pthread_setname_np |
| #endif |
| |
| #cmakedefine HAVE_SIGSTKFLT |
| #cmakedefine HAVE_ACE_Select_Reactor |
| |
| // TODO replace with better CMake checks |
| #cmakedefine _LINUX |
| #cmakedefine _MACOSX |
| // TODO already defined #cmakedefine _WIN32 |
| #cmakedefine _SOLARIS |
| |
| #define PRODUCT_VENDOR "@PRODUCT_VENDOR@" |
| #define PRODUCT_VENDOR_NAME "@PRODUCT_VENDOR_NAME@" |
| #define PRODUCT_NAME "@PRODUCT_NAME@" |
| #define PRODUCT_BITS "@PRODUCT_BITS@" |
| #define PRODUCT_LIB_NAME "@PRODUCT_LIB_NAME@" |
| #define PRODUCT_DLL_NAME "@PRODUCT_DLL_NAME@" |
| |
| #define GEODE_SYSTEM_PROCESSOR "@CMAKE_SYSTEM_PROCESSOR@" |
| #define GEODE_SYSTEM_NAME "@CMAKE_SYSTEM_NAME@" |
| |
| // TODO relace with CMake checks |
| #define WITH_ACE_Select_Reactor 1 |
| |
| // ACE_Thread is a pointer on MacOS *only* |
| #if defined(_MACOSX) |
| #define ACE_Thread_NULL nullptr |
| #else |
| #define ACE_Thread_NULL 0 |
| #endif |
| |
| #cmakedefine WITH_IPV6 |
| |
| #endif // GEODE_CONFIG_H_ |