holzschu / ios_system

Drop-in replacement for system() in iOS programs
BSD 3-Clause "New" or "Revised" License
902 stars 147 forks source link

"Use of undeclared identifier 'SORT_VERSION'" in sort.c #42

Closed louisdh closed 6 years ago

louisdh commented 6 years ago

I'm getting Use of undeclared identifier 'SORT_VERSION' when trying to compile the latest ios_system master (with the sort command) in OpenTerm.

holzschu commented 6 years ago

That's odd. Lines 3026 to 3028 of text_cmds.patch should say:

+//#ifdef __APPLE__
+//             printf("%s (%s)\n", VERSION, strlen(SORT_VERSION) ? SORT_VERSION : "0");
+//#else
louisdh commented 6 years ago

Oh, I should probably re-run the get-frameworks script.