/usr/include/libhmsbeagle-1/libhmsbeagle/platform.h is in libhmsbeagle-dev 2.1.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | /*
* platform.h
* Definitions and compiler support for platform-specific features
*
* Copyright 2009 Phylogenetic Likelihood Working Group
*
* This file is part of BEAGLE.
*
* BEAGLE is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version.
*
* BEAGLE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with BEAGLE. If not, see
* <http://www.gnu.org/licenses/>.
*
* @author Aaron Darling
*/
#ifndef __beagle_platform__
#define __beagle_platform__
#ifdef _WIN32
// needed to export library symbols
#ifdef _EXPORTING
#define BEAGLE_DLLEXPORT __declspec(dllexport)
#else
#define BEAGLE_DLLEXPORT __declspec(dllimport)
#endif
/*
// automatically include the appropriate beagle library
#ifdef _WIN64
#ifdef _DEBUG
#pragma comment( lib, "libhmsbeagle64d" )
#else
#pragma comment( lib, "libhmsbeagle64" )
#endif
#else
#ifdef _DEBUG
#pragma comment( lib, "libhmsbeagle32d" )
#else
#pragma comment( lib, "libhmsbeagle32" )
#endif
#endif
*/
#else // not windows
#define BEAGLE_DLLEXPORT
#endif
#ifndef M_LN2 /* Work around for OS X 10.8 and gcc 4.7.1 */
#define M_LN2 0.693147180559945309417232121458176568 /* log_e 2 */
#endif
#endif
|