File: PsychPlatform.h

package info (click to toggle)
psychtoolbox-3 3.0.19.14.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 86,796 kB
  • sloc: ansic: 176,245; cpp: 20,103; objc: 5,393; sh: 2,753; python: 1,397; php: 384; makefile: 193; java: 113
file content (47 lines) | stat: -rw-r--r-- 1,466 bytes parent folder | download | duplicates (4)
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
/*
    PsychPlatform.h

    PLATFORMS:

        Only Linux

    AUTHORS:

        Mario Kleiner   mk  mario.kleiner.de@gmail.com

    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_DEBUG             PSYCH_ON