aboutsummaryrefslogtreecommitdiff
path: root/include/libft.h
blob: 0b4d608d017ba97b4eb62346f1123c4ce3a375b8 (plain)
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
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   libft.h                                            :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: cacharle <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2019/10/07 09:45:02 by cacharle          #+#    #+#             */
/*   Updated: 2020/01/17 10:51:40 by cacharle         ###   ########.fr       */
/*                                                                            */
/* ************************************************************************** */

#ifndef LIBFT_H
# define LIBFT_H

# include <unistd.h>
# include <stdarg.h>
# include <stdlib.h>
# include <stddef.h>
# include <limits.h>
# include <errno.h>

# include "ft_types.h"
# include "ft_ctype.h"
# include "ft_io.h"
# include "ft_mem.h"
# include "ft_str.h"

# ifdef FT_FEATURES_FT_LST
#  include "ft_lst.h"
# endif

# ifdef FT_FEATURES_FT_GET_NEXT_LINE
#  include "ft_get_next_line.h"
# endif

# ifdef FT_FEATURES_FT_PRINTF
#  include "ft_printf.h"
# endif

# ifdef __linux__
#  include <stdio.h>
#  define OPEN_MAX FOPEN_MAX
# endif

# define TRUE 1
# define FALSE 0

#endif