Rename LINUX to _HOSTLINUX etc. to reduce clashes (#655)

Co-authored-by: tkchia <tkchia-cosmo@gmx.com>
This commit is contained in:
tkchia 2022-10-11 11:31:25 +08:00 committed by GitHub
parent 9209ea63a7
commit 7a06760e6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 85 additions and 85 deletions

View file

@ -25,15 +25,15 @@
int GetSynFingerOs(uint32_t x) {
switch (x) {
case 0x7e7a6599:
return XNU;
return _HOSTXNU;
case 0xbb724187:
return LINUX;
return _HOSTLINUX;
case 0xb228b212:
return WINDOWS;
return _HOSTWINDOWS;
case 0x77c30887:
return FREEBSD;
return _HOSTFREEBSD;
case 0xc45d694b:
return OPENBSD;
return _HOSTOPENBSD;
default:
return 0;
}