summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/emucore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/emucore.h b/src/emu/emucore.h
index 02a43eb181f..1e5e87be8d1 100644
--- a/src/emu/emucore.h
+++ b/src/emu/emucore.h
@@ -373,7 +373,7 @@ ATTR_NORETURN void fatalerror_exitcode(running_machine &machine, int exitcode, c
//**************************************************************************
// population count
-#if defined(__NetBSD__)
+#if !defined(__NetBSD__)
inline int popcount(UINT32 val)
{
int count;