Sha256: e4dc390d9debd12e4a562eac587693c8e74f66afba2364979aff1f09eb795c4d

Contents?: true

Size: 1.11 KB

Versions: 92

Compression:

Stored size: 1.11 KB

Contents

/*
An operating system detection header file.

Copyright (C) 2010 Gregory Cohen <gregorycohenvideos@gmail.com>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef _OS_DETECTION
	#define _OS_DETECTION
	
	#ifdef __unix__
		#define UNIX   1
	#else
		#define UNIX   0
	#endif
	
	#ifdef __linux__
		#define LINUX   1
	#else
		#define LINUX   0
	#endif
	
	#if defined _WIN32 || defined _WIN64 || defined WIN32 || defined WIN64
		#define WINDOWS   1
	#else
		#define WINDOWS   0
	#endif
	
	#ifdef __FreeBSD__
		#define FREEBSD   1
	#else
		#define FREEBSD   1
	#endif
#endif

Version data entries

92 entries across 46 versions & 6 rubygems

Version Path
ufos-1.0.94 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
ufos-1.0.94 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
aliens-1.0.94 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
aliens-1.0.94 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
freespeech-1.0.94 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
freespeech-1.0.94 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
elonmusk-1.0.94 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
elonmusk-1.0.94 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
politics-1.0.94 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
politics-1.0.94 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
democracy-1.0.94 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
democracy-1.0.94 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
democracy-1.0.93 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
democracy-1.0.93 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
ufos-1.0.91 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
ufos-1.0.91 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
aliens-1.0.91 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
aliens-1.0.91 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h
freespeech-1.0.91 ./other/old_compiler/shiltiumcomp59/global_headers/os_detection.h
freespeech-1.0.91 ./other/old_compiler/shiltiumcomp58/global_headers/os_detection.h