mirror of
https://github.com/vale981/Taevitas
synced 2025-03-06 01:51:38 -05:00
80 lines
2.6 KiB
C
80 lines
2.6 KiB
C
![]() |
//=============================================================================
|
||
|
// Copyright © 2008 Point Grey Research, Inc. All Rights Reserved.
|
||
|
//
|
||
|
// This software is the confidential and proprietary information of Point
|
||
|
// Grey Research, Inc. ("Confidential Information"). You shall not
|
||
|
// disclose such Confidential Information and shall use it only in
|
||
|
// accordance with the terms of the license agreement you entered into
|
||
|
// with Point Grey Research, Inc. (PGR).
|
||
|
//
|
||
|
// PGR MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
|
||
|
// SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
|
||
|
// IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||
|
// PURPOSE, OR NON-INFRINGEMENT. PGR SHALL NOT BE LIABLE FOR ANY DAMAGES
|
||
|
// SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
|
||
|
// THIS SOFTWARE OR ITS DERIVATIVES.
|
||
|
//=============================================================================
|
||
|
|
||
|
//=============================================================================
|
||
|
// $Id: FlyCapture2Platform.h 284515 2016-06-02 18:11:05Z erich $
|
||
|
//=============================================================================
|
||
|
|
||
|
#ifndef PGR_FC2_FLYCAPTURE2PLATFORM_H
|
||
|
#define PGR_FC2_FLYCAPTURE2PLATFORM_H
|
||
|
|
||
|
//=============================================================================
|
||
|
// Platform-specific header file for FlyCapture2.
|
||
|
//
|
||
|
// All the platform-specific code that is required by individual compilers
|
||
|
// to produce the appropriate code for each platform.
|
||
|
//=============================================================================
|
||
|
|
||
|
#if defined(_WIN32) || defined(_WIN64)
|
||
|
|
||
|
// Windows 32-bit and 64-bit
|
||
|
#ifdef FLYCAPTURE2_EXPORT
|
||
|
#define FLYCAPTURE2_API __declspec( dllexport )
|
||
|
#elif defined(FLYCAPTURE2_STATIC)
|
||
|
#define FLYCAPTURE2_API
|
||
|
#else
|
||
|
#define FLYCAPTURE2_API __declspec( dllimport )
|
||
|
#endif
|
||
|
|
||
|
#if _MSC_VER > 1000
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
// Provide a common naming scheme for fixed-width integer types
|
||
|
#ifdef _MSC_VER
|
||
|
#if _MSC_VER >= 1600
|
||
|
#include <cstdint>
|
||
|
#else
|
||
|
//typedef __int8 int8_t;
|
||
|
typedef __int16 int16_t;
|
||
|
typedef __int32 int32_t;
|
||
|
typedef __int64 int64_t;
|
||
|
//typedef unsigned __int8 uint8_t;
|
||
|
typedef unsigned __int16 uint16_t;
|
||
|
typedef unsigned __int32 uint32_t;
|
||
|
typedef unsigned __int64 uint64_t;
|
||
|
#endif
|
||
|
#elif __GNUC__ >=3
|
||
|
#include <cstdint>
|
||
|
#endif
|
||
|
|
||
|
#elif defined(MAC_OSX)
|
||
|
|
||
|
// Mac OSX
|
||
|
|
||
|
#else
|
||
|
// Linux and all others
|
||
|
|
||
|
// Using GCC 4 where hiding attributes is possible
|
||
|
#define FLYCAPTURE2_API __attribute__ ((visibility ("default")))
|
||
|
#define FLYCAPTURE2_LOCAL __attribute__ ((visibility ("hidden")))
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif // PGR_FC2_FLYCAPTURE2PLATFORM_H
|
||
|
|