/usr/include/root/RConfig.h is in libroot-core-dev 5.34.14-1build1.
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 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 | /* @(#)root/base:$Id$ */
/*************************************************************************
* Copyright (C) 1995-2002, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_RConfig
#define ROOT_RConfig
/*************************************************************************
* *
* RConfig *
* *
* Defines used by ROOT. *
* *
*************************************************************************/
#ifndef ROOT_RVersion
#include "RVersion.h"
#endif
/*---- new C++ features ------------------------------------------------------*/
#define R__USE_SHADOW_CLASS
/* Do not #define nullptr if the code is compiled in c++11 mode. */
#if __cplusplus > 199711L
#define R__NULLPTR
#endif
/*---- machines --------------------------------------------------------------*/
#ifdef __hpux
/* R__HPUX10 or R__HPUX11 is determined in the Makefile */
# define R__HPUX
# define R__UNIX
# define ANSICPP
# ifdef __LP64__
# define R__B64
# endif
# ifdef R__HPUX10
# define NEED_SNPRINTF
# endif
#endif
#ifdef _AIX
# define R__AIX
# define R__UNIX
# define ANSICPP
# define R__SEEK64
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# define NEED_STRCASECMP
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
#endif
#ifdef __linux
# ifndef linux
# define linux
# endif
#endif
#if defined(__CYGWIN__) && defined(__GNUC__)
# ifndef linux
# define linux
# endif
# ifndef R__WINGCC
# define R__WINGCC
# endif
#endif
#if defined(__alpha) && !defined(linux)
# include <standards.h>
# ifndef __USE_STD_IOSTREAM
# define __USE_STD_IOSTREAM
# endif
# define R__ANSISTREAM
# define R__SSTREAM
# define R__TMPLTSTREAM
# ifdef _XOPEN_SOURCE
# if _XOPEN_SOURCE+0 > 0
# define R__TRUE64
# endif
# endif
# define R__ALPHA
# define ANSICPP
# ifndef R__TRUE64
# define NEED_SNPRINTF
# endif
# ifndef __VMS
# define R__UNIX
# define R__B64
# define R__BYTESWAP
# if __DECCXX_VER >= 60060002
# define R__VECNEWDELETE /* supports overloading of new[] and delete[] */
# define R__PLACEMENTDELETE /* supports overloading placement delete */
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# define R__THROWNEWDELETE /* new/delete throw exceptions */
# endif
# if defined __GNUC__
# define R__NAMESPACE_TEMPLATE_IMP_BUG
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# else
# define R__TEMPLATE_OVERLOAD_BUG
# endif
# endif
#endif
#if defined(__sun) && !(defined(linux) || defined(__FCC_VERSION))
# ifdef __SVR4
# define R__SOLARIS
# define R__SEEK64
# define ANSICPP
# ifdef __i386
# define R__BYTESWAP
# endif
# ifdef __x86_64
# define R__B64
# define R__BYTESWAP
# endif
# else
# define R__SUN
# include <stdlib.h>
# endif
# define R__UNIX
# define NEED_STRING
# define NEED_SIGJMP
# if __SUNPRO_CC > 0x420
# define R__SOLARIS_CC50
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
# define R__SSTREAM /* use sstream or strstream header */
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# endif
# if __SUNPRO_CC >= 0x420
# define R__SUNCCBUG /* to work around a compiler bug */
# endif
# if __SUNPRO_CC >= 0x5110
# define R__THROWNEWDELETE
# endif
# if __GNUC__ >= 3 || __GNUC_MINOR__ >= 90 /* modern egcs/gcc */
# define R__SUNGCC3
# endif
#endif
#if defined(__FCC_VERSION) /* Solaris with Fujitsu compiler */
# define R__SOLARIS
# define R__SEEK64
# define ANSICPP
# define R__UNIX
# define NEED_STRING
# define NEED_SIGJMP
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
#endif
#if defined(__sgi) && !defined(linux)
# define R__SGI
# define R__UNIX
# define ANSICPP
# define NEED_STRING
# define NEED_SIGJMP
# define R__SEEK64
# if !defined(__KCC)
# define R__THROWNEWDELETE /* new/delete throw exceptions */
# endif
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# ifdef IRIX64
# define R__SGI64
# endif
# if defined(__mips64) || defined(_ABI64)
# define R__B64
# undef R__SEEK64
# endif
# if !defined(__KCC)
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
# endif
#endif
#if defined(linux)
# ifndef _LARGEFILE64_SOURCE
# define _LARGEFILE64_SOURCE
# endif
# include <features.h>
# if __GNU_LIBRARY__ == 6
# ifndef R__GLIBC
# define R__GLIBC
# endif
# endif
# if __GLIBC__ == 2 && __GLIBC_MINOR__ >= 2
# define R__NONSCALARFPOS2
# define R__USESTHROW
# define R__SEEK64
# endif
#endif
#if defined(linux) && defined(__i386__)
# define R__LINUX
# define R__UNIX
# define R__BYTESWAP
# ifndef __i486__
# define __i486__ /* turn off if you really want to run on an i386 */
# endif
# define NEED_SIGJMP
#endif
#if defined(linux) && defined(__ia64__)
# define R__LINUX
# define R__UNIX
# define R__BYTESWAP
# define R__B64
# define NEED_SIGJMP
#endif
#if defined(linux) && defined(__x86_64__)
# define R__LINUX
# define R__UNIX
# define R__BYTESWAP
# define R__B64
# define NEED_SIGJMP
#endif
#if defined(linux) && defined(__alpha__)
# define R__LINUX
# define R__UNIX
# define R__BYTESWAP
# define R__B64
# define NEED_SIGJMP
#endif
#if defined(linux) && defined(__arm__)
# define R__LINUX
# define R__UNIX
# define R__BYTESWAP
# define NEED_SIGJMP
#endif
#if defined(linux) && defined(__sparc__)
# define R__LINUX
# define R__UNIX
# define NEED_SIGJMP
/*# define R__B64 */ /* enable when 64 bit machine */
#endif
#if defined(linux) && defined(__sgi)
# define R__LINUX
# define R__UNIX
# define NEED_SIGJMP
# if defined(__mips64) || defined(_ABI64)
# define R__B64 /* enable when 64 bit machine */
# endif
#endif
/*
Note, that there are really 3 APIs:
mips, mipsel:
O32 ABI, ILP32, "long long" in a "aligned" even-odd register
pair, 4 argument registers
mipsn32, mipsn32el
N32 ABI, ILP32, but with 64 bit wide registers, and "long long"
in a single register, 8 argument registers
mips64, mips64el
N64 ABI, LP64, 8 argument registers
where O32, N32, and N64 are the ABI names. ILP32 means that
(I)int, (L)long, (P)pointer are 32bit long. LP64 means that
long and pointer are 64bit long. "el" denotes if the ABI is
little endian.
N32 is different from 032, in the calling convention. Arguments
passed as 64bit (long long) reference, and there are 8 of those.
O32 is the one closest to "normal" GNU/Linux on i386.
It's a bit more complex. MIPS spans probably the largest
performance range of any CPU family, from a 32bit 20 MHz
Microcontroller (made by Microchip) up to a 64bit monster with
over 5000 CPUs (made by SiCortex). Obviously, only the 64bit
CPUs can run 64bit code, but 32bit code runs on all of them.
The use cases for the different ABIs are:
- O32: Most compatible, runs everywhere
- N32: Best performance on 64 bit if a large address space isn't
needed. It is faster than O32 due to improved calling
conventions, and it is faster than N64 due to reduced
pointer size.
- N64: Huge address space.
Currently (end 2007) Debian GNU/Linux only supports O32
Thanks to Thiemo Seufer <ths@networkno.de> of Debian
*/
#if defined(__linux) && defined(__mips__)
# define R__LINUX
# define R__UNIX
# define NEED_SIGJMP
# if _MIPS_SIM == _ABI64
# define R__B64 /* enable when 64 bit machine */
# endif
# if defined(__MIPSEL__) /* Little endian */
# define R__BYTESWAP
# endif
#endif
#if defined(linux) && defined(__hppa)
# define R__LINUX
# define R__UNIX
# define NEED_SIGJMP
#endif
#if defined(linux) && defined(__powerpc__)
# define R__LINUX
# define R__UNIX
# define NEED_SIGJMP
# if defined(R__ppc64)
# define R__B64
# endif
#endif
#if defined(__MACH__) && defined(__i386__) && !defined(__APPLE__)
# define R__HURD
# define f2cFortran /* cfortran.h does not know HURD - sigh */
# define R__UNIX
# define R__BYTESWAP
# define R__GLIBC /* GNU/Hurd always use GLIBC 2.x :-) */
# define PATH_MAX 4096
# define NEED_SIGJMP
#endif
#if defined(__Lynx__) && defined(__powerpc__)
# define R__LYNXOS
# define R__UNIX
# define ANSICPP
# define NEED_SIGJMP
# define NEED_STRCASECMP
# define NEED_SNPRINTF
#endif
#if defined(__FreeBSD__)
# define R__FBSD
# define R__UNIX
# define R__BYTESWAP
# if defined(__i386__)
# ifndef __i486__
# define __i486__ /* turn off if you really want to run on an i386 */
# endif
# endif
# if defined(__amd64__)
# define R__B64
# endif
# define R__THROWNEWDELETE /* new/delete throw exceptions */
# define HAS_STRLCPY
#endif
#if defined(__FreeBSD_kernel__)
# define R__kFBSD
# define R__UNIX
# define R__BYTESWAP
# if defined(__i386__)
# ifndef __i486__
# define __i486__ /* turn off if you really want to run on an i386 */
# endif
# endif
# if defined(__amd64__)
# define R__B64
# endif
# define R__GLIBC
# define R__THROWNEWDELETE /* new/delete throw exceptions */
#endif
#if defined(__OpenBSD__)
# define R__OBSD
# define R__UNIX
# define R__BYTESWAP
# if defined(__i386__)
# ifndef __i486__
# define __i486__ /* turn off if you really want to run on an i386 */
# endif
# endif
# if defined(__amd64__)
# define R__B64
# endif
# define R__THROWNEWDELETE /* new/delete throw exceptions */
# define HAS_STRLCPY
#endif
#if defined(__APPLE__) /* MacOS X support, initially following FreeBSD */
# include <AvailabilityMacros.h>
# ifndef __CINT__
# include <TargetConditionals.h>
# endif
# define R__MACOSX
# define R__UNIX
# if defined(__xlC__) || defined(__xlc__)
# define ANSICPP
# define R__ANSISTREAM
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# endif
# if defined(__ppc64__)
# define R__B64 /* enable when 64 bit machine */
# endif
# if defined(__i386__)
# define R__BYTESWAP
# endif
# if defined(__arm__)
# define R__BYTESWAP
# endif
# if defined(__x86_64__)
# define R__BYTESWAP
# define R__B64 /* enable when 64 bit machine */
# endif
# define HAS_STRLCPY
#endif
#ifdef _HIUX_SOURCE
# define R__HIUX
# define R__UNIX
# define NEED_SIGJMP
# define NEED_SNPRINTF
# define ANSICPP
#endif
#ifdef __GNUC__
# define R__GNU
# define ANSICPP
# if __GNUC__ >= 3 || __GNUC_MINOR__ >= 90 /* egcs 1.0.3 */
# define R__VECNEWDELETE /* supports overloading of new[] and delete[] */
# define R__PLACEMENTDELETE /* supports overloading placement delete */
# endif
# if __GNUC__ >= 3 || ( __GNUC__ == 2 && __GNUC_MINOR__ >= 95)
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# endif
# if __GNUC__ >= 3 || __GNUC_MINOR__ >= 91 /* egcs 1.1.x */
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
# endif
# if __GNUC__ >= 3
# define R__SSTREAM /* use sstream or strstream header */
# endif
# if defined(__ia64__) && __GNUC__ < 3 /* gcc 2.9x (MINOR is 9!) */
# define R__VECNEWDELETE /* supports overloading of new[] and delete[] */
# define R__PLACEMENTDELETE /* supports overloading placement delete */
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
# endif
# if __GNUC__ > 4 || ( __GNUC__ == 4 && __GNUC_MINOR__ > 1)
# define R__PRAGMA_DIAGNOSTIC
# endif
#endif
/* allows symbols to be hidden from the shared library export symbol table */
/* use typically on file statics and private methods */
#if defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3))
# define R__HIDDEN __attribute__((__visibility__("hidden")))
#else
# define R__HIDDEN
#endif
#ifdef __INTEL_COMPILER
# define R__INTEL_COMPILER
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
# define R__VECNEWDELETE /* supports overloading of new[] and delete[] */
# define R__PLACEMENTDELETE /* supports overloading placement delete */
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# define ANSICPP
#endif
#ifdef __HP_aCC
# define R__ACC
# define R__VECNEWDELETE /* supports overloading of new[] and delete[] */
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# define R__THROWNEWDELETE /* new/delete throw exceptions */
# if __HP_aCC <= 015000
# define R__OLDHPACC
# define R__TEMPLATE_OVERLOAD_BUG
# define R__GLOBALSTL /* STL in global name space */
# else
# define R__PLACEMENTDELETE /* supports overloading placement delete */
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
# define R__TMPLTSTREAM /* iostream implemented with templates */
# endif
# ifndef _INCLUDE_LONGLONG
# define _INCLUDE_LONGLONG
# endif
#endif
#ifdef _WIN32
# define R__WIN32
# ifndef WIN32
# define WIN32
# endif
# define R__BYTESWAP
# define R__ACCESS_IN_SYMBOL
#endif
#ifdef __SC__
# define SC
# define R__SC
# if defined(WIN32)
# define NEED_STRING
# define NEED_STRCASECMP
# define NEED_SNPRINTF
# define ANSICPP
# else
# define MSDOS
# define NEED_STRCASECMP
# define R__BYTESWAP
# endif
#endif
#ifdef _MSC_VER
# define R__VISUAL_CPLUSPLUS
# define NEED_STRING
# define NEED_STRCASECMP
# define NEED_SNPRINTF
# define ANSICPP
# define R__VECNEWDELETE /* supports overloading of new[] and delete[] */
# define R__PLACEMENTDELETE /* supports overloading placement delete */
# define R__PLACEMENTINLINE /* placement new/delete is inline in <new> */
# if _MSC_VER >= 1200
# define R__ANSISTREAM /* ANSI C++ Standard Library conformant */
# endif
# if _MSC_VER >= 1310
# define R__SSTREAM /* has <sstream> iso <strstream> */
# endif
# if _MSC_VER >= 1400
# define DONTNEED_VSNPRINTF
# endif
# if _MSC_VER < 1310
# define R__NO_CLASS_TEMPLATE_SPECIALIZATION
# endif
#endif
/*--- memory and object statistics -------------------------------------------*/
/* #define R__NOSTATS */
/*--- cpp --------------------------------------------------------------------*/
#ifdef ANSICPP
/* symbol concatenation operator */
# define _NAME1_(name) name
# define _NAME2_(name1,name2) name1##name2
# define _NAME3_(name1,name2,name3) name1##name2##name3
/* stringizing */
# define _QUOTE_(name) #name
#else
# define _NAME1_(name) name
# define _NAME2_(name1,name2) _NAME1_(name1)name2
# define _NAME3_(name1,name2,name3) _NAME2_(name1,name2)name3
# define _QUOTE_(name) "name"
#endif
/* produce an identifier that is almost unique inside a file */
#ifndef __CINT__
# define _R__JOIN_(X,Y) _NAME2_(X,Y)
# define _R__JOIN3_(F,X,Y) _NAME3_(F,X,Y)
#ifdef R__DICTIONARY_FILENAME
# define _R__UNIQUE_(X) _R__JOIN3_(R__DICTIONARY_FILENAME,X,__LINE__)
#else
# define _R__UNIQUE_(X) _R__JOIN_(X,__LINE__)
#endif
#else
/* Currently CINT does not really mind to have duplicates and */
/* does not work correctly as far as merging tokens is concerned. */
# define _R__UNIQUE_(X) X
#endif
/*---- misc ------------------------------------------------------------------*/
#ifdef R__GNU
# define SafeDelete(p) { if (p) { delete p; p = 0; } }
#else
# define SafeDelete(p) { delete p; p = 0; }
#endif
#endif
|