dmedvinsky / gsimplecal

Simple and lightweight GTK calendar (BSD license)
http://dmedvinsky.github.io/gsimplecal
Other
197 stars 19 forks source link

Current executable path on BSD #13

Closed dmedvinsky closed 12 years ago

dmedvinsky commented 12 years ago

We use /proc/{getpid()}/exe, which is OK on Linux, but on BSD it is /proc/{getpid()}/file. Thus, we need to add conditional compilation, I guess. Feels kind of ugly, but it should work.