[Mesa-dev] [PATCH 5/6] virgl: remove the _FILE_OFFSET_BITS defines

Emil Velikov emil.l.velikov at gmail.com
Thu Oct 29 04:05:00 PDT 2015


From: Emil Velikov <emil.velikov at collabora.com>

The build already sets it as needed.

Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
 src/gallium/winsys/virgl/drm/virgl_drm_winsys.c     | 3 ---
 src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c | 2 --
 src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c | 2 --
 3 files changed, 7 deletions(-)

diff --git a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
index 77972cf..2d5bf25 100644
--- a/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
+++ b/src/gallium/winsys/virgl/drm/virgl_drm_winsys.c
@@ -20,9 +20,6 @@
  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
-/* TODO - remove this */
-#define _FILE_OFFSET_BITS 64
-
 #include "virgl_drm_winsys.h"
 #include "virgl_drm_public.h"
 #include "util/u_memory.h"
diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c b/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c
index 48dff8d..8fd6a51 100644
--- a/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c
+++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_socket.c
@@ -20,8 +20,6 @@
  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
-#define _FILE_OFFSET_BITS 64
-
 #include "virgl_vtest_winsys.h"
 #include "virgl_vtest_public.h"
 #include <sys/socket.h>
diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
index 9002d40..24ba7ec 100644
--- a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
+++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
@@ -20,8 +20,6 @@
  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
  * USE OR OTHER DEALINGS IN THE SOFTWARE.
  */
-#define _FILE_OFFSET_BITS 64
-
 #include <stdio.h>
 #include "virgl_vtest_winsys.h"
 #include "virgl_vtest_public.h"
-- 
2.6.1



More information about the mesa-dev mailing list