mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-10-28 23:10:08 +01:00
ANDROID -> __ANDROID__
This commit is contained in:
parent
9ae4915e9c
commit
48945f7082
32 changed files with 88 additions and 80 deletions
|
|
@ -19,7 +19,12 @@ Dumb script that serves as a ad-hoc cpp-linter
|
|||
|
||||
Commands:
|
||||
once Check for #pragma once prescence in header files
|
||||
|
||||
osdef Fixes OS defines that are not recommended to use:
|
||||
ANDROID
|
||||
_WIN64
|
||||
linux
|
||||
__unix__
|
||||
__unix
|
||||
EOF
|
||||
}
|
||||
|
||||
|
|
@ -31,6 +36,9 @@ while :; do
|
|||
;;
|
||||
osdef)
|
||||
find "$ROOTDIR/src" -type f -name "*.h" -exec grep -nw "ANDROID" {} +
|
||||
find "$ROOTDIR/src" -type f -name "*.h" -exec grep -nw "_WIN64" {} +
|
||||
find "$ROOTDIR/src" -type f -name "*.h" -exec grep -nw "__linux" {} +
|
||||
find "$ROOTDIR/src" -type f -name "*.h" -exec grep -nw "__unix" {} +
|
||||
break
|
||||
;;
|
||||
*) usage ;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue