mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 05:47:11 +03:00

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
37 lines
721 B
C
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
|