mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
390db010c9
The current comment indicates it's checking for a 32-bit build environment, but it actually checks for a 64-bit environment. Fix this. Signed-off-by: Martin Kelly <martkell@amazon.com> Acked-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
19 lines
247 B
C
19 lines
247 B
C
/*
|
|
* Trivial program to check that we have a valid 64-bit build environment.
|
|
* Copyright (c) 2015 Andy Lutomirski
|
|
* GPL v2
|
|
*/
|
|
|
|
#ifndef __x86_64__
|
|
# error wrong architecture
|
|
#endif
|
|
|
|
#include <stdio.h>
|
|
|
|
int main()
|
|
{
|
|
printf("\n");
|
|
|
|
return 0;
|
|
}
|