UltraGrid
UltraGrid Low-Latency High-Resolution Transmission System
Loading...
Searching...
No Matches
src
compat
misc.h
Go to the documentation of this file.
1
8
/*
9
* Copyright (c) 2021-2024 CESNET
10
* All rights reserved.
11
*
12
* Redistribution and use in source and binary forms, with or without
13
* modification, is permitted provided that the following conditions
14
* are met:
15
*
16
* 1. Redistributions of source code must retain the above copyright
17
* notice, this list of conditions and the following disclaimer.
18
*
19
* 2. Redistributions in binary form must reproduce the above copyright
20
* notice, this list of conditions and the following disclaimer in the
21
* documentation and/or other materials provided with the distribution.
22
*
23
* 3. Neither the name of CESNET nor the names of its contributors may be
24
* used to endorse or promote products derived from this software without
25
* specific prior written permission.
26
*
27
* THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS
28
* "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING,
29
* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
30
* AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
31
* EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
32
* INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
33
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
34
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
36
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
37
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
38
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39
*/
40
41
#ifndef COMPAT_MISC_H_20C709DB_F4A8_4744_A0A9_96036B277011
42
#define COMPAT_MISC_H_20C709DB_F4A8_4744_A0A9_96036B277011
43
44
#ifdef WANT_MKDIR
45
#ifdef _WIN32
46
#include <direct.h>
47
#define mkdir(path, mode) _mkdir(path)
48
#else
49
#include <sys/stat.h>
50
#endif
51
#endif
// defined WANT_MKDIR
52
53
#endif
// defined COMPAT_MISC_H_20C709DB_F4A8_4744_A0A9_96036B277011
54
Generated on Wed Sep 25 2024 14:27:15 for UltraGrid by
1.12.0