* target.c (num_devices): Guard with PLUGIN_SUPPORT.

From-SVN: r219742
This commit is contained in:
Gerald Pfeifer 2015-01-16 14:27:55 +00:00 committed by Gerald Pfeifer
parent 32e8464400
commit 973e980879
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2015-01-16 Gerald Pfeifer <gerald@pfeifer.com>
* target.c (num_devices): Guard with PLUGIN_SUPPORT.
2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
James Norris <jnorris@codesourcery.com>
Tom de Vries <tom@codesourcery.com>

View File

@ -63,8 +63,10 @@ static int num_offload_images;
/* Array of descriptors for all available devices. */
static struct gomp_device_descr *devices;
#ifdef PLUGIN_SUPPORT
/* Total number of available devices. */
static int num_devices;
#endif
/* Number of GOMP_OFFLOAD_CAP_OPENMP_400 devices. */
static int num_devices_openmp;