blob: 7444cc3dda3d85be6e74b1bffbb068aff19b4007 [file] [log] [blame]
/*
* 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 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@"
// 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
#endif // GEODE_CONFIG_H_