The R Project SVN R

Rev

Rev 71657 | Rev 85640 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 71657 Rev 77153
Line 1... Line 1...
1
/*
1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1998-2016    The R Core Team
3
 *  Copyright (C) 1998-2019    The R Core Team
4
 *
4
 *
5
 *  This header file is free software; you can redistribute it and/or modify
5
 *  This header file is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU Lesser General Public License as published by
6
 *  it under the terms of the GNU Lesser General Public License as published by
7
 *  the Free Software Foundation; either version 2.1 of the License, or
7
 *  the Free Software Foundation; either version 2.1 of the License, or
8
 *  (at your option) any later version.
8
 *  (at your option) any later version.
Line 27... Line 27...
27
#define R_EXT_PRINT_H_
27
#define R_EXT_PRINT_H_
28
 
28
 
29
#ifdef  __cplusplus
29
#ifdef  __cplusplus
30
/* If the vprintf interface is defined at all in C++ it may only be
30
/* If the vprintf interface is defined at all in C++ it may only be
31
   defined in namespace std.  It is part of the C++11 standard. */
31
   defined in namespace std.  It is part of the C++11 standard. */
-
 
32
# if __cplusplus >= 201103L && !defined(R_USE_C99_IN_CXX)
-
 
33
#  define R_USE_C99_IN_CXX
-
 
34
# endif
32
# ifdef R_USE_C99_IN_CXX
35
# ifdef R_USE_C99_IN_CXX
33
#  include <cstdarg>
36
#  include <cstdarg>
34
#  define R_VA_LIST std::va_list
37
#  define R_VA_LIST std::va_list
35
# endif
38
# endif
36
extern "C" {
39
extern "C" {