Skip to content

Commit 25c7d4d

Browse files
committed
fix: Fix ifdef typo (#1804)
fix: Fix typo This is the only way that makes any sense -- define OIIO_HIDE_FORMAT if it ISN'T already defined. Signed-off-by: Larry Gritz <[email protected]>
1 parent b87cceb commit 25c7d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/OSL/oslconfig.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
# ifdef OIIO_ERRORHANDLER_HIDE_PRINTF
5151
# define OIIO_ERRORHANDLER_HIDE_PRINTF 1
5252
# endif
53-
# ifdef OIIO_HIDE_FORMAT
53+
# ifndef OIIO_HIDE_FORMAT
5454
# define OIIO_HIDE_FORMAT 1
5555
# endif
5656
#endif

0 commit comments

Comments
 (0)