Skip to content
Snippets Groups Projects
Commit 9f7f8329 authored by Stefan Anzinger's avatar Stefan Anzinger
Browse files

Fix issues with compiling graphics/grDevices and fficall with non-gcc compilers

parent 7a98d948
Branches
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
* Copyright (c) 1995, 1996, 1997 Robert Gentleman and Ross Ihaka
* Copyright (c) 1995-2014, The R Core Team
* Copyright (c) 2002-2008, The R Foundation
* Copyright (c) 2015, Oracle and/or its affiliates
* Copyright (c) 2015, 2016, Oracle and/or its affiliates
*
* All rights reserved.
*/
......@@ -19,6 +19,7 @@
#define HAVE_ERRNO_H 1
#include <stdlib.h>
#include <alloca.h> // Required for non gcc compilers
#include <Rinternals.h>
// various definitions required to compile GNU-R code:
......
......@@ -6,14 +6,16 @@
* Copyright (c) 1995, 1996, 1997 Robert Gentleman and Ross Ihaka
* Copyright (c) 1995-2014, The R Core Team
* Copyright (c) 2002-2008, The R Foundation
* Copyright (c) 2015, Oracle and/or its affiliates
* Copyright (c) 2015, 2016, Oracle and/or its affiliates
*
* All rights reserved.
*/
// This simply includes gzio.h (which actually contains code)
#define f_tell ftell
#define f_seek fseek
#define warning Rf_warning
#include GNUR_GZIO_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment