Do not define HAVE_USBHID_H manually, cmake does it for us.
authorThomas Klausner <wiz@NetBSD.org>
Wed, 12 Jul 2017 20:44:28 +0000 (20:44 +0000)
committerDiederick Niehorster <dcnieho@gmail.com>
Wed, 12 Jul 2017 20:44:28 +0000 (20:44 +0000)
(cherry picked from commit 78b19bfc9709d5c4175a7866059a42c478272071)

(cherry picked from commit 0b64b227b521cc9e7ec44a6a1d50a1a8700911e4)

git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1828 7f0cb862-5218-0410-a997-914c9d46530a

src/fg_internal.h

index a95027b..f487ece 100644 (file)
  */
 #if defined(__FreeBSD__) || defined(__NetBSD__)
 #    define HAVE_USB_JS 1
-#    if defined(__NetBSD__) || ( defined(__FreeBSD__) && __FreeBSD_version >= 500000)
-#        define HAVE_USBHID_H 1
-#    endif
 #endif
 
 #if defined(_MSC_VER) || defined(__WATCOMC__)