mirror of
https://github.com/monero-project/monero.git
synced 2024-12-14 12:26:31 +02:00
Add also ifdef __x86_64__
This commit is contained in:
parent
7fdaa8285e
commit
0f4fddc2f8
@ -62,7 +62,7 @@
|
|||||||
#include <devstat.h>
|
#include <devstat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#if defined(__amd64__) || defined(__i386__)
|
#if defined(__amd64__) || defined(__i386__) || defined(__x86_64__)
|
||||||
#include <machine/apm_bios.h>
|
#include <machine/apm_bios.h>
|
||||||
#endif
|
#endif
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@ -1088,7 +1088,7 @@ namespace cryptonote
|
|||||||
return boost::logic::tribool(boost::logic::indeterminate);
|
return boost::logic::tribool(boost::logic::indeterminate);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(__amd64__) || defined(__i386__)
|
#if defined(__amd64__) || defined(__i386__) || defined(__x86_64__)
|
||||||
apm_info info;
|
apm_info info;
|
||||||
if( ioctl(fd, APMIO_GETINFO, &info) == -1 ) {
|
if( ioctl(fd, APMIO_GETINFO, &info) == -1 ) {
|
||||||
close(fd);
|
close(fd);
|
||||||
|
Loading…
Reference in New Issue
Block a user