Skip to content

Commit

Permalink
Correct -D_PNETCDF flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jun 9, 2020
1 parent 14140f8 commit 038b3a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion set_flags.am
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/flib -D_NETCDF

# Is the user building with pnetcdf?
if BUILD_PNETCDF
AM_CPPFLAGS += -D_PETCDF
AM_CPPFLAGS += -D_PNETCDF
endif

# Is the user building with netCDF-4 parallel I/O?
Expand Down
2 changes: 1 addition & 1 deletion src/flib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# The library we are building.
lib_LTLIBRARIES = libpiof.la

AM_CPPFLAGS = -D_NETCDF -D_NETCDF4 -D_PETCDF
AM_CPPFLAGS = -D_NETCDF -D_NETCDF4 -D_PNETCDF

# These linker flags specify libtool version info.
# See http://www.gnu.org/software/libtool/manual/libtool.html#Libtool-versioning
Expand Down

0 comments on commit 038b3a7

Please sign in to comment.