From d3a5144876c052c721c19f85f8275174630f9461 Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 26 Aug 2007 21:44:03 +0000 Subject: Replace macros with inline functions git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@386 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- other/pamx/window.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'other/pamx/window.c') diff --git a/other/pamx/window.c b/other/pamx/window.c index 1a6e510b..2eb48241 100644 --- a/other/pamx/window.c +++ b/other/pamx/window.c @@ -6,6 +6,8 @@ See COPYRIGHT file for copyright information. */ +#define _BSD_SOURCE /* Make sure strcaseeq() is in nstring.h */ + #include #include #include @@ -555,7 +557,7 @@ visualClassFromName(const char * const name) { bool found; for (a = 0, found = FALSE; VisualClassName[a].name; ++a) { - if (STRCASEEQ(VisualClassName[a].name, name)) { + if (strcaseeq(VisualClassName[a].name, name)) { /* Check for uniqueness. We special-case StaticGray because we have two spellings but they are unique if we find either. -- cgit 1.4.1