File: PsychPlatform.h

package info (click to toggle)
psychtoolbox-3 3.0.14.20170103%2Bgit6-g605ff5c.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 103,044 kB
  • ctags: 69,483
  • sloc: ansic: 167,371; cpp: 11,232; objc: 4,708; sh: 1,875; python: 383; php: 344; makefile: 207; java: 113
file content (52 lines) | stat: -rwxr-xr-x 1,417 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*
	PsychPlatform.h
	
	PLATFORMS:
	
		Only Linux
		
	AUTHORS:
	
		Mario Kleiner	mk		mario.kleiner@tuebingen.mpg.de

  	HISTORY:

  	2/20/06	mk		Wrote it.  

	DESCRIPTION:
	
		PsychPlatform.h contains constant definitions asserting conditions
		specific to the the Linux version of Screen.  If you  
		use a conditional macro wich branches according to one of the constants
		in this file, then that conditional macro does not belong here.
		
		Note that this should be the ONLY Psychtoolbox file which is conditionally
		included by platform.  Exceptions to this rule might be:
		-project.def files included in VC++ files
		-StdAfx pre-compiled header files included in VC++ files.

	
	TO DO:
	
		For now the project path specifies which platform version of this file to 
		include, with each version of this file defining constants which identify
		the platform.  A smarter way to do this would be to use a single version 
		of this file which detects contants defined within the compilation 
		environment, for example as a flag passed to the compiler.    	
	

*/

#include "PsychPlatformConstants.h"

//these control build switches
#define PSYCH_SYSTEM							PSYCH_LINUX

// If no specific runtime language is provided by build-system, we default to Matlab.
#ifndef PSYCH_LANGUAGE
#define PSYCH_LANGUAGE							PSYCH_MATLAB
#endif

#define PSYCH_WINDOWING							PSYCH_CGL_WINDOW
#define PSYCH_DEBUG							PSYCH_ON