+#else /* if SDL < 1.3 */
+/* If the SDL version is too old, provide dummy methods that don't to anything.
+ * This avoid using defines all over the place. */
+HapticManager::HapticManager () {
+ log_debug << "Haptic manager: Disabled because SDL version is too old." << std::endl;
+}
+
+void HapticManager::addJoystick (SDL_Joystick *j) {
+ /* do nothing. */
+}
+
+void HapticManager::playEffect (haptic_effect_t idx) {
+ /* do nothing. */
+}
+#endif /* SDL < 1.3 */