Browse Source

Type fixing for ARM (e.g. Raspberry Pis)

doc
Hauke Zühl 8 years ago
parent
commit
f8a1631fc4
  1. 5
      examples/example01.cc

5
examples/example01.cc

@ -160,7 +160,12 @@ int main(int argc, char** argv) {
// Process options
std::string user_id = ""; // ID of the receiving user
#ifdef __arm__
int c;
#else
char c;
#endif
while ((c = getopt(argc, argv, "u:")) != -1) {
switch(c) {
case 'u':

Loading…
Cancel
Save