summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2014-06-13 16:03:33 -0700
committerBen Pfaff <blp@nicira.com>2014-06-13 16:03:33 -0700
commitb57c6aaa85c01118b32627708a7956b93d6e0aa5 (patch)
tree9a1e5b54053f14c26abfcd688ca9200483fbbaf5 /include/linux
parentf0e5aa1107407bbcabb3a816ee40a98b8ba2050c (diff)
downloadopenvswitch-b57c6aaa85c01118b32627708a7956b93d6e0aa5.tar.gz
util: Move definition of HANDLE here.
A few Open vSwitch source files use a type named HANDLE on Windows systems, in a way that makes it easier to avoid #ifdefs if we have a dummy definition on other platforms. <linux/types.h> was a really weird place for this dummy definition. This commit moves it to util.h. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/types.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/types.h b/include/linux/types.h
index d8b993b24..5438a430d 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011 Nicira, Inc.
+ * Copyright (c) 2011, 2014 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,8 +55,4 @@ typedef uint32_t __bitwise__ __be32;
typedef uint64_t __bitwise__ __be64;
#endif /* no <linux/types.h> */
-#ifndef _WIN32
-typedef __u32 HANDLE;
-#endif
-
#endif /* <linux/types.h> */