Skip to content

Commit

Permalink
#include ROOT/RConfig.h instead of RConfig.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel-Naumann committed Feb 6, 2018
1 parent c566d0d commit 190ac06
Show file tree
Hide file tree
Showing 50 changed files with 51 additions and 51 deletions.
2 changes: 1 addition & 1 deletion build/win/makeresource.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ cat > $RC <<EOF
// ROOT version resource file for $FILENAME
// Generated by $0 on $DATE
#include "RConfig.h"
#include <ROOT/RConfig.h>
#include <windows.h>
#include <winver.h>
Expand Down
2 changes: 1 addition & 1 deletion core/base/inc/RStipples.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef ROOT_Stipples
#define ROOT_Stipples

#include "RConfig.h"
#include <ROOT/RConfig.h>

//////////////////////////////////////////////////////////////////////////
// //
Expand Down
2 changes: 1 addition & 1 deletion core/base/inc/Rstrstream.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#ifndef ROOT_Rstrstream
#define ROOT_Rstrstream

#include "RConfig.h"
#include <ROOT/RConfig.h>

#if defined(R__ANSISTREAM)
# if defined(R__SSTREAM)
Expand Down
2 changes: 1 addition & 1 deletion core/base/inc/RtypesCore.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
//////////////////////////////////////////////////////////////////////////


#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <stddef.h> // size_t, NULL

Expand Down
2 changes: 1 addition & 1 deletion core/base/inc/Strlen.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef ROOT_Strlen
#define ROOT_Strlen

#include "RConfig.h"
#include <ROOT/RConfig.h>

#ifdef NEED_STRING
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion core/base/inc/TException.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct sigjmp_buf;
struct jmp_buf;
#endif

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "DllImport.h"

struct ExceptionContext_t {
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/String.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// //
//////////////////////////////////////////////////////////////////////////

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include <string>
#include "TBuffer.h"

Expand Down
2 changes: 1 addition & 1 deletion core/base/src/TDatime.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ date/time of data taking events and the like. If absolute time is
required, use TTimeStamp.
*/

#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <time.h>

Expand Down
2 changes: 1 addition & 1 deletion core/base/src/TROOT.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ of a main program creating an interactive version is shown below:
~~~
*/

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "RConfigure.h"
#include "RConfigOptions.h"
#include "RVersion.h"
Expand Down
2 changes: 1 addition & 1 deletion core/base/src/TString.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ as a TString, construct a TString from it, eg:
~~~
*/

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include <stdlib.h>
#include <ctype.h>
#include <list>
Expand Down
2 changes: 1 addition & 1 deletion core/clib/inc/snprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#ifndef ROOT_snprintf
#define ROOT_snprintf

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include <stdio.h>

#ifndef __CINT__
Expand Down
2 changes: 1 addition & 1 deletion core/clib/inc/strlcpy.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef ROOT_strlcpy
#define ROOT_strlcpy

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "RtypesCore.h"

#ifndef HAS_STRLCPY
Expand Down
2 changes: 1 addition & 1 deletion core/clib/res/mmconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#ifndef MMCONFIG_H
#define MMCONFIG_H

#include "RConfig.h"
#include <ROOT/RConfig.h>

#ifndef WIN32
# ifndef INVALID_HANDLE_VALUE
Expand Down
2 changes: 1 addition & 1 deletion core/clib/src/snprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include <stdio.h>
#include <string.h>

#include "RConfig.h" /* for NEED_SNPRINTF */
#include <ROOT/RConfig.h> /* for NEED_SNPRINTF */

#if defined(NEED_SNPRINTF) || defined(SNTEST)

Expand Down
2 changes: 1 addition & 1 deletion core/clib/src/strlcat.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#include "RConfig.h" /* for HAS_STRLCPY */
#include <ROOT/RConfig.h> /* for HAS_STRLCPY */

#ifndef HAS_STRLCPY

Expand Down
2 changes: 1 addition & 1 deletion core/clib/src/strlcpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/

#include "RConfig.h" /* for HAS_STRLCPY */
#include <ROOT/RConfig.h> /* for HAS_STRLCPY */

#ifndef HAS_STRLCPY

Expand Down
2 changes: 1 addition & 1 deletion core/clingutils/src/RStl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*************************************************************************/

#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>

#include "RStl.h"
#include "TClassEdit.h"
Expand Down
2 changes: 1 addition & 1 deletion core/clingutils/src/TClingUtils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <unordered_set>

#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "Rtypes.h"

#include "RStl.h"
Expand Down
2 changes: 1 addition & 1 deletion core/dictgen/src/TModuleGenerator.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include "TClingUtils.h"
#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>

#include "cling/Interpreter/CIFactory.h"
#include "clang/Basic/SourceManager.h"
Expand Down
2 changes: 1 addition & 1 deletion core/dictgen/src/rootcling_impl.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ const char *rootClingHelp =
#include "rootcling_impl.h"

#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <iostream>
#include <iomanip>
Expand Down
2 changes: 1 addition & 1 deletion core/foundation/inc/TClassEdit.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#ifndef ROOT_TClassEdit
#define ROOT_TClassEdit

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "RConfigure.h"
#include <stdlib.h>
#ifdef R__WIN32
Expand Down
4 changes: 2 additions & 2 deletions core/lz4/src/ZipLZ4.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <cstdint>
#include <cstring>

#include "RConfig.h"
#include <ROOT/RConfig.h>

// Pulled from liblz4; upstream library explicitly exposes the symbol but the default build
// excludes the header.
Expand Down Expand Up @@ -143,4 +143,4 @@ void R__unzipLZ4(int *srcsize, unsigned char *src, int *tgtsize, unsigned char *
}

*irep = returnStatus;
}
}
2 changes: 1 addition & 1 deletion core/rootcling_stage1/src/rootcling_stage1.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "rootcling_impl.h"
#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>
#include <stdlib.h>

extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion core/thread/inc/ThreadLocalStorage.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#include "Rtypes.h"
#endif

#include "RConfig.h"
#include <ROOT/RConfig.h>

#include "RConfigure.h"

Expand Down
2 changes: 1 addition & 1 deletion core/unix/src/TUnixSystem.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//////////////////////////////////////////////////////////////////////////

#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "TUnixSystem.h"
#include "TROOT.h"
#include "TError.h"
Expand Down
2 changes: 1 addition & 1 deletion graf2d/mathtext/src/fontembed.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#endif

// ROOT integration
#include "RConfig.h"
#include <ROOT/RConfig.h>
#ifdef R__BYTESWAP
#ifndef LITTLE_ENDIAN
#define LITTLE_ENDIAN 1
Expand Down
2 changes: 1 addition & 1 deletion graf2d/mathtext/src/fontembedps.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#endif

// ROOT integration
#include "RConfig.h"
#include <ROOT/RConfig.h>
#ifdef R__BYTESWAP
#ifndef LITTLE_ENDIAN
#define LITTLE_ENDIAN 1
Expand Down
2 changes: 1 addition & 1 deletion graf2d/qt/inc/TQtRConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#ifndef ROOT_TQTRCONFIG
#define ROOT_TQTRCONFIG
#include "RConfig.h"
#include <ROOT/RConfig.h>
#ifndef __CINT__
# include "qglobal.h"
#endif
Expand Down
2 changes: 1 addition & 1 deletion io/gfal/src/TGFALFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Note that for the TGFALFile plugin to work, all these pathnames
should be prepended by gfal:.
*/

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "TROOT.h"
#include "TUrl.h"

Expand Down
2 changes: 1 addition & 1 deletion io/io/src/TFile.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ End_Macro
The structure of a directory is shown in TDirectoryFile::TDirectoryFile
*/

#include "RConfig.h"
#include <ROOT/RConfig.h>

#ifdef R__LINUX
// for posix_fadvise
Expand Down
2 changes: 1 addition & 1 deletion main/src/hadd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
Toby Burnett implemented the possibility to use indirect files.
*/

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "ROOT/TIOFeatures.hxx"
#include <string>
#include "TFile.h"
Expand Down
2 changes: 1 addition & 1 deletion main/src/pmain.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <stdlib.h>
#include <sys/types.h>

#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "RConfigure.h"
#ifdef R__AFS
#include "TAFS.h"
Expand Down
2 changes: 1 addition & 1 deletion main/src/rootcling.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "rootclingIO.h"
#include "rootcling_impl.h"
#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "TSystem.h"

extern "C" {
Expand Down
2 changes: 1 addition & 1 deletion misc/memstat/src/TMemStatHook.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <iostream>
// MemStat
#include "TMemStatHook.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>

// TODO: move it to a separate file
#if defined(__APPLE__)
Expand Down
2 changes: 1 addition & 1 deletion net/net/src/TApplicationServer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
//////////////////////////////////////////////////////////////////////////

#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>
#include "Riostream.h"

#ifdef WIN32
Expand Down
2 changes: 1 addition & 1 deletion net/net/src/TFTP.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// //
//////////////////////////////////////////////////////////////////////////

#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <fcntl.h>
#include <errno.h>
Expand Down
2 changes: 1 addition & 1 deletion net/rootd/src/rootd.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
// 17 -> 18: fix problems with '//' in admin paths; partial logging in castor mode

#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <ctype.h>
#include <fcntl.h>
Expand Down
2 changes: 1 addition & 1 deletion net/rpdutils/src/daemon.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#include <sys/wait.h>
#endif

#include "RConfig.h"
#include <ROOT/RConfig.h>

#ifndef NOFILE
# define NOFILE 0
Expand Down
2 changes: 1 addition & 1 deletion net/rpdutils/src/net.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// //
//////////////////////////////////////////////////////////////////////////

#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <stdio.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion net/rpdutils/src/netpar.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// //
//////////////////////////////////////////////////////////////////////////

#include "RConfig.h"
#include <ROOT/RConfig.h>

// avoid warning due to wrong bzero prototype (used by FD_ZERO macro)
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion net/rpdutils/src/rpdconn.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <sys/types.h>
#include <sys/un.h>

#include "RConfig.h"
#include <ROOT/RConfig.h>

#define RPD_MAXLEN 8192

Expand Down
2 changes: 1 addition & 1 deletion net/rpdutils/src/rpdutils.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//////////////////////////////////////////////////////////////////////////

#include "RConfigure.h"
#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <ctype.h>
#include <fcntl.h>
Expand Down
2 changes: 1 addition & 1 deletion net/rpdutils/src/ssh.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
// //
//////////////////////////////////////////////////////////////////////////

#include "RConfig.h"
#include <ROOT/RConfig.h>

#include <stdio.h>
#include <string.h>
Expand Down
Loading

0 comments on commit 190ac06

Please sign in to comment.