Skip to content

Commit ed63d25

Browse files
pkubajAlexPeshkoff
authored andcommitted
Explicitly set up architecture macros for FreeBSD
1 parent 8e641c4 commit ed63d25

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/common/common.h

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@
269269

270270

271271
/*****************************************************
272-
* FreeBSD for Intel platforms
272+
* FreeBSD
273273
*****************************************************/
274274
#ifdef FREEBSD
275275

@@ -281,7 +281,13 @@
281281

282282
#ifdef AMD64
283283
#define FB_CPU CpuAmd
284-
#else
284+
#endif
285+
286+
#ifdef PPC64EL
287+
#define FB_CPU CpuPowerPc64el
288+
#endif
289+
290+
#if defined(i386) || defined(__i386) || defined(__i386__)
285291
#define I386
286292
#define FB_CPU CpuIntel
287293
#endif

0 commit comments

Comments
 (0)