Skip to content

Commit

Permalink
Resolve build failure on i686-linux
Browse files Browse the repository at this point in the history
gcc had to say:
gzdoom-g4.8.0/src/common/engine/stats.h:83:13: error: 'CPU' was not declared in this scope
   83 |         if (CPU.bRDTSC)
  • Loading branch information
jengelh authored and coelckers committed Jun 19, 2022
1 parent cd998ed commit 3213f04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/common/engine/stats.h
Expand Up @@ -35,6 +35,9 @@
#define __STATS_H__

#include "zstring.h"
#if defined __i386__
#include "x86.h"
#endif

#if !defined _WIN32 && !defined __APPLE__

Expand Down

0 comments on commit 3213f04

Please sign in to comment.