summaryrefslogtreecommitdiffhomepage
path: root/test/util/save_util_other.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/util/save_util_other.cc')
-rw-r--r--test/util/save_util_other.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/util/save_util_other.cc b/test/util/save_util_other.cc
index 1aca663b7..931af2c29 100644
--- a/test/util/save_util_other.cc
+++ b/test/util/save_util_other.cc
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifndef __linux__
+
namespace gvisor {
namespace testing {
@@ -21,3 +23,5 @@ void MaybeSave() {
} // namespace testing
} // namespace gvisor
+
+#endif