Skip to content

Commit

Permalink
Revert parts that are not used by ldc (ldc-developers#2).
Browse files Browse the repository at this point in the history
(Review @joakim-noah)
  • Loading branch information
dkgroot committed Dec 28, 2017
1 parent d4396ac commit 67cc175
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dmd2/globals.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,23 @@ void Global::init()
#else
#if TARGET_WINDOS
obj_ext = "obj";
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_DRAGONFLYBSD || TARGET_SOLARIS
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
obj_ext = "o";
#else
#error "fix this"
#endif

#if TARGET_WINDOS
lib_ext = "lib";
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_DRAGONFLYBSD || TARGET_SOLARIS
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
lib_ext = "a";
#else
#error "fix this"
#endif

#if TARGET_WINDOS
dll_ext = "dll";
#elif TARGET_LINUX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_DRAGONFLYBSD || TARGET_SOLARIS
#elif TARGET_LINUX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
dll_ext = "so";
#elif TARGET_OSX
dll_ext = "dylib";
Expand All @@ -60,7 +60,7 @@ void Global::init()

#if TARGET_WINDOS
run_noext = false;
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_DRAGONFLYBSD || TARGET_SOLARIS
#elif TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_SOLARIS
// Allow 'script' D source files to have no extension.
run_noext = true;
#else
Expand Down

0 comments on commit 67cc175

Please sign in to comment.