summaryrefslogtreecommitdiffstats
path: root/src/common/arch.h
blob: 09dbe7c90c6d478a07359b4a46567aeea9a0e1c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef CEPH_ARCH_H
#define CEPH_ARCH_H

static const char *get_arch()
{
#if defined(__i386__)
  return "i386";
#elif defined(__x86_64__)
  return "x86-64";
#else
    return "unknown";
#endif
}

#endif