[mutter/wip/lantw/gethostname: 3/3] display: Remove _XOPEN_SOURCE definition



commit 81e6f64aac13604bf3129a2ff5fb1b0e682dc361
Author: Ting-Wei Lan <lantw src gnome org>
Date:   Mon Jun 24 00:03:52 2019 +0800

    display: Remove _XOPEN_SOURCE definition
    
    There is no gethostname call in this file.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/638

 src/core/display.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index d5024e5cb..8e3f93a42 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -28,8 +28,6 @@
  * The display is represented as a #MetaDisplay struct.
  */
 
-#define _XOPEN_SOURCE 600 /* for gethostname() */
-
 #include "config.h"
 
 #include <stdlib.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]