File: fte.h

package info (click to toggle)
fte 0.50.2b6-20110708-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 3,768 kB
  • ctags: 6,761
  • sloc: cpp: 47,985; ansic: 2,795; sh: 112; makefile: 71; perl: 29
file content (41 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (5)
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
/*    fte.h
 *
 *    Copyright (c) 1994-1996, Marko Macek
 *
 *    You may distribute under the terms of either the GNU General Public
 *    License or the Artistic License, as specified in the README file.
 *
 */

#ifndef FTE_H
#define FTE_H

#ifdef LINUX
/*
 * for support of large file sizes on 32bit system
 * here is the solution for linux and glibc
 */
#define _FILE_OFFSET_BITS 64
#define _LARGEFILE_SOURCE 1
#endif

#include "feature.h"
#include "sysdep.h"

#include <inttypes.h>
#include <sys/types.h>
#include <assert.h>
#include <string.h>

#if defined(_DEBUG) && defined(MSVC) && defined(MSVCDEBUG)
#include <crtdbg.h>

#define new new( _CLIENT_BLOCK, __FILE__, __LINE__)

#endif //_DEBUG && MSVC && MSVCDEBUG

#define FTE_ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0]))

#include "stl_fte.h"

#endif // FTE_H