ldc/ddmd/root/root.h
Johan Engelen 29ce4012af dmd2 --> ddmd. Merge (almost all of) our changes to dmd source into the new D source of dmd 2.069.2.
Also adds the CMake infrastructure to compile and link the D source files.

The build is partially broken:
- A few files in Phobos and druntime do not build
- MSVC build is broken because of unresolved symbols involving reals
2016-01-28 19:03:58 +01:00

37 lines
721 B
C

/* Copyright (c) 1999-2014 by Digital Mars
* All Rights Reserved, written by Walter Bright
* http://www.digitalmars.com
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt)
* https://github.com/D-Programming-Language/dmd/blob/master/src/root/root.h
*/
#ifndef ROOT_H
#define ROOT_H
#if __DMC__
#pragma once
#endif
#if IN_LLVM
#ifndef IS_PRINTF
# ifdef __GNUC__
# define IS_PRINTF(FMTARG) __attribute((__format__(__printf__, (FMTARG), (FMTARG)+1)))
# else
# define IS_PRINTF(FMTARG)
# endif
#endif
#endif
#include "object.h"
#include "filename.h"
#include "file.h"
#include "outbuffer.h"
#include "array.h"
#endif