]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/file-name.cc
move hurd support to a quilt patch
[lilypond.git] / flower / file-name.cc
index 0ff89b8d874fb32f6f189470eb3c596c6cfd22f8..1746c2c28d84adc5cbe8cd19f5e8d431dec10383 100644 (file)
@@ -96,13 +96,9 @@ dir_name (const string &file_name)
 string
 get_working_directory ()
 {
-#ifdef _GNU_SOURCE_
-  return string (get_current_dir_name());
-#else
   char cwd[PATH_MAX];
   // getcwd returns NULL upon a failure, contents of cwd would be undefined!
   return string (getcwd (cwd, PATH_MAX));
-#endif
 }
 
 /* Join components to full file_name. */