mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-22 04:27:02 +02:00
Windows only: Added cmake binaries to the repository in order to minimize dependencies.
This commit is contained in:
parent
8de84743bc
commit
1150a78f15
516 changed files with 147760 additions and 0 deletions
20
tool/win/cmake/share/cmake-2.8/Modules/CheckVariableExists.c
Normal file
20
tool/win/cmake/share/cmake-2.8/Modules/CheckVariableExists.c
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifdef CHECK_VARIABLE_EXISTS
|
||||
|
||||
extern int CHECK_VARIABLE_EXISTS;
|
||||
|
||||
#ifdef __CLASSIC_C__
|
||||
int main(){
|
||||
int ac;
|
||||
char*av[];
|
||||
#else
|
||||
int main(int ac, char*av[]){
|
||||
#endif
|
||||
if(ac > 1000){return *av[0];}
|
||||
return CHECK_VARIABLE_EXISTS;
|
||||
}
|
||||
|
||||
#else /* CHECK_VARIABLE_EXISTS */
|
||||
|
||||
# error "CHECK_VARIABLE_EXISTS has to specify the variable"
|
||||
|
||||
#endif /* CHECK_VARIABLE_EXISTS */
|
Loading…
Add table
Add a link
Reference in a new issue