Sha256: 2f490c7f24e7a94442cec47fb7ea6e22daa4d8b764d9f6972466226fef12f56d

Contents?: true

Size: 1.11 KB

Versions: 138

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   0
	#endif
#endif

Version data entries

138 entries across 46 versions & 6 rubygems

Version Path
ufos-1.0.94 ./other/old_compiler/shiltiumcomp/global_headers/os_detection.h
ufos-1.0.94 ./other/old_compiler/shiltiumcomp76/global_headers/os_detection.h
ufos-1.0.94 ./other/old_compiler/shiltiumcomp78/global_headers/os_detection.h
aliens-1.0.94 ./other/old_compiler/shiltiumcomp/global_headers/os_detection.h
aliens-1.0.94 ./other/old_compiler/shiltiumcomp76/global_headers/os_detection.h
aliens-1.0.94 ./other/old_compiler/shiltiumcomp78/global_headers/os_detection.h
freespeech-1.0.94 ./other/old_compiler/shiltiumcomp/global_headers/os_detection.h
freespeech-1.0.94 ./other/old_compiler/shiltiumcomp76/global_headers/os_detection.h
freespeech-1.0.94 ./other/old_compiler/shiltiumcomp78/global_headers/os_detection.h
elonmusk-1.0.94 ./other/old_compiler/shiltiumcomp/global_headers/os_detection.h
elonmusk-1.0.94 ./other/old_compiler/shiltiumcomp78/global_headers/os_detection.h
elonmusk-1.0.94 ./other/old_compiler/shiltiumcomp76/global_headers/os_detection.h
politics-1.0.94 ./other/old_compiler/shiltiumcomp/global_headers/os_detection.h
politics-1.0.94 ./other/old_compiler/shiltiumcomp76/global_headers/os_detection.h
politics-1.0.94 ./other/old_compiler/shiltiumcomp78/global_headers/os_detection.h
democracy-1.0.94 ./other/old_compiler/shiltiumcomp/global_headers/os_detection.h
democracy-1.0.94 ./other/old_compiler/shiltiumcomp78/global_headers/os_detection.h
democracy-1.0.94 ./other/old_compiler/shiltiumcomp76/global_headers/os_detection.h
democracy-1.0.93 ./other/old_compiler/shiltiumcomp78/global_headers/os_detection.h
democracy-1.0.93 ./other/old_compiler/shiltiumcomp76/global_headers/os_detection.h