Use #if defined(FOO_CPU) instead of #if FOO_CPU just to be picky.
Spotted by Thomas Klausner.
This commit is contained in:
parent
1546835120
commit
39424268c6
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: rnd.h,v 1.3 2000/07/02 21:05:14 sommerfeld Exp $ */
|
||||
/* $NetBSD: rnd.h,v 1.4 2001/12/06 01:56:19 sommerfeld Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
|
@ -53,7 +53,7 @@
|
|||
static __inline int
|
||||
cpu_hascounter(void)
|
||||
{
|
||||
#if I586_CPU || I686_CPU
|
||||
#if defined(I586_CPU) || defined(I686_CPU)
|
||||
/*
|
||||
* Note that:
|
||||
* 1) Intel documentation is very specific that code *must* test
|
||||
|
|
Loading…
Reference in New Issue