Skip to content

Commit 45478af

Browse files
committed
moving the hack for linux into a protected area for linux only
1 parent f2f7529 commit 45478af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cpp/webdriver-firefox/build_environment.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33

44
#ifdef __GNUC__
55
#define BUILD_ON_UNIX
6+
// TODO(lukeis) add guard for gecko 27
7+
// I tried a few things and couldn't find an option, mozilla-config.h defines MOZILLA_VERSION
8+
// this file doesn't exist in gecko-17, so if we for whatever reason need to rebuild that version
9+
// this line will need to be removed
10+
#include "mozilla/Char16.h"
611
#else
712
#define BUILD_ON_WINDOWS
813
#endif
@@ -18,8 +23,3 @@
1823

1924
#endif
2025

21-
// TODO(lukeis) add guard for gecko 27
22-
// I tried a few things and couldn't find an option, mozilla-config.h defines MOZILLA_VERSION
23-
// this file doesn't exist in gecko-17, so if we for whatever reason need to rebuild that version
24-
// this line will need to be removed
25-
#include "mozilla/Char16.h"

0 commit comments

Comments
 (0)