Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Conditionally compile in ID typedef

  • Loading branch information...
commit aa9eefab04e79755f0eaa454c0ecc2875c276917 1 parent f51b451
Steve Streza stevestreza authored alexrepty committed
Showing with 3 additions and 20 deletions.
  1. +3 −20 MGTwitterEngineGlobalHeader.h
23 MGTwitterEngineGlobalHeader.h
View
@@ -70,24 +70,7 @@
#define LARGE_ID_TEST 0
#endif
-#if YAJL_AVAILABLE
- /*
- When enabled, this definition artificially adds 0x7ffffff to each tweet ID that is read from the API. It
- also subtracts 0x7fffffff from anything it sends back to the API. This allows you to test your application
- code and make sure it works well with large unsigned longs. This is important because tweet IDs that are
- treated as signed integers will become negative after 2^32 - 1 (0x7fffffff). This will happen sometime
- around the end of May 2009.
-
- A future release of MGTwitterEngine will use 64-bit integers for the tweet IDs. The current change is
- meant as a stopgap measure that will affect existing applications as little as possible.
- */
-
- #define LARGE_ID_TEST 0
-#else
- /*
- This option is only available when you are using the YAJL parser. Do not change the following definition.
- */
- #define LARGE_ID_TEST 0
-#endif
-
+#ifndef __MGTWITTERENGINEID__
+#define __MGTWITTERENGINEID__
typedef unsigned long long MGTwitterEngineID;
+#endif
Please sign in to comment.
Something went wrong with that request. Please try again.