Skip to content

Commit bc55bed

Browse files
authored
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 <lg@larrygritz.com>
1 parent a21ba65 commit bc55bed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)