summaryrefslogtreecommitdiff
path: root/pngstruct.h
diff options
context:
space:
mode:
authorGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 14:31:00 -0600
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2013-02-17 14:31:00 -0600
commit9e8fd50d7600f91fc4d3b4c876a3759bc54c2bd9 (patch)
tree29feb56c0974ceb017825600fa8182058c2fbea6 /pngstruct.h
parentea3288f1c5e549be593b9665e24c1489c9994645 (diff)
[libpng16] Use parentheses consistently in "#if defined()" tests.
Diffstat (limited to 'pngstruct.h')
-rw-r--r--pngstruct.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngstruct.h b/pngstruct.h
index a9bd7abb5..10c996543 100644
--- a/pngstruct.h
+++ b/pngstruct.h
@@ -100,7 +100,7 @@ typedef struct png_XYZ
} png_XYZ;
#endif /* COLORSPACE */
-#if defined PNG_COLORSPACE_SUPPORTED || defined PNG_GAMMA_SUPPORTED
+#if defined(PNG_COLORSPACE_SUPPORTED) || defined(PNG_GAMMA_SUPPORTED)
/* A colorspace is all the above plus, potentially, profile information,
* however at present libpng does not use the profile internally so it is only
* stored in the png_info struct (if iCCP is supported.) The rendering intent
@@ -476,7 +476,7 @@ struct png_struct_def
png_bytep row, png_const_bytep prev_row);
#ifdef PNG_READ_SUPPORTED
-#if defined PNG_COLORSPACE_SUPPORTED || defined PNG_GAMMA_SUPPORTED
+#if defined(PNG_COLORSPACE_SUPPORTED) || defined(PNG_GAMMA_SUPPORTED)
png_colorspace colorspace;
#endif
#endif